isAlive

Check whether an entity is alive (not destroyed).

Return

true if the entity is alive, false if it has been destroyed.

Parameters

e

The entity to check.