Event for dimension teleportation

Is there an Event to know when the player is teleporting to another dimension?

There is a event for when a player is teleporting. You can then compare the dimensions from the previous location to the new location on the dimension of the world.

MoveEntityEvent.Teleport