def assert_await_scene_loaded(cli, scene_name, is_loaded=DEFAULT_SCENE_LOADED, timeout_seconds=DEFAULT_TIMEOUT_SECONDS):
    """
    Asserts that we successfully awaited for the scene to be loaded based on is_loaded. If the timeout passes
    or the expression is_registered != actual state, then it will fail.
    :param cli:
    :param scene_name:
    :param is_loaded: (True | False) the state change we are waiting for.
    :param timeout_seconds: The amount of time to wait for a change before fail.
    :return:
    """
    result = commands.await_scene_loaded(cli, scene_name, is_loaded, timeout_seconds)
    assert result is True
    return result