Returns 1 if the character is a player's pet and returns 0 otherwise. Character entity may be a character pointer or keyword.