Added a function to check if a player is in the void