def _default_all_done_checker(env, obs, rewards, dones, infos):
    """
    Returns True if any agent is reported as done.
    """
    for done in dones.values():
        if done:
            return True
    return False