- player is the name of a player
- player_id is the id of a player
Checks to see if a given player is currently online, returning true if they are, false otherwise. Works on any player, not just those on your friends list and in your clan.
Try to get Sonata of Sneakiness from an online buffbots, skipping those that are not online.
Note that this function returns false if player does not exist.