def _is_world_over(info):
    """Return a boolean determining if the world is over."""
    # 0x0770 contains GamePlay mode:
    # 0 => Demo
    # 1 => Standard
    # 2 => End of world
    return info["gameMode"] == 2