enderpearl dimension change

is it possible to make the advancement to detect the dimension change using the enderpearl tp?
Continue to help post