hasParent

@MainThread
fun hasParent(): Boolean

Checks if the current entity has a parent entity.

Return

true if the current entity has a parent entity; false otherwise.