API PlayerLocationMixin IsValid

Indicates the PlayerLocation validly identifies a player. isValid = location:IsValid

Returns

 * isValid : - Returns true when appropriate methods have been used to uniquely identify a player; otherwise false.

Details

 * Reasons for returning false include:
 * The mixin was manually prepared and not yet assigned to a player
 * An invalid reference was used, such as a GUID that does not exist
 * A 'relative' reference like a UnitId was used, but currently does not point to a player (ie, "target" while targetting an NPC)