Gets the parent entity of the current entity.
The parent entity if it exists, or null if there is no parent.