Gets whether the Minecraft window is active and in the foreground of the user's screen.
true if the game is active, false otherwise