Implement isOnPlanet tests