class_docstr: A wrapper that will produce an error if :meth:`step` is called before an initial :meth:`reset`.
  
  Example:
      >>> from gym.envs.classic_control import CartPoleEnv
      >>> env = CartPoleEnv()
      >>> env = OrderEnforcing(env)
      >>> env.step(0)
      ResetNeeded: Cannot call env.step() before calling env.reset()
      >>> env.render()
      ResetNeeded: Cannot call env.render() before calling env.reset()
      >>> env.reset()
      >>> env.render()
      >>> env.step(0)
docstr: Resets the environment with `kwargs`.
code: def reset(self, **kwargs):
      """Resets the environment with `kwargs`."""
      self._has_reset = True
      return self.env.reset(**kwargs)
  
file_path: gym/gym/wrappers/order_enforcing.py
imports: import gym
  from gym.error import ResetNeeded
label_desc: Use image node_id 3 for calling the OrderEnforcing obj's underlying member method code with example usage: obj.reset() and returns: self