ObjectExists
function
Description
Get whether an object exists.
Arguments
Object A pointer to an object or a unit ID.
Returns
Exists true if the object exists in the object manager, or false if it does not.