(self, env)
return done
Checks if the episode is over.
Checks if the episode is over.
Checks if the episode is over .
def done(self, env):
    """Checks if the episode is over."""
    del env
    done = self._terminal_condition(self._env)

    return done
def done ( self , env ) : del env done = self . _terminal_condition ( self . _env ) return done