So i am making a game and when the main player is "eaten" by the enemy and when this happens the game crashes. In order to fix this problem I want to check the world for the player object and then set the world to a game over screen. What is the code to check for the player object

