Checks if the sender is a player entity.
If this returns true, asPlayer is guaranteed to return non-null.
true if the sender is a player