Function to check if player is in field of view ADDED