class_docstr: A structured environment which returns random actions
docstr: Resets the environment and returns the initial state.
  
  :return: the initial state after resetting.
docstr_tok: ["Resets","the","environment","and","returns","the","initial","state",".",":","return",":","the","initial","state","after","resetting","."]
code: def reset(self) -> Any:
      """Resets the environment and returns the initial state.
  
      :return: the initial state after resetting.
      """
      self.last_obs = self.env.reset()
      self._sub_step_index = 0
      return filter_dict_starts_with(self.last_obs, "observation_0")
  
imports: from typing import Any, Dict, Union, Tuple, Callable, Optional
  import gym
  import numpy
  from maze.core.env.maze_env import MazeEnv
  from maze.core.env.structured_env import StructuredEnv, StepKeyType, ActorID
  from maze.core.env.structured_env_spaces_mixin import StructuredEnvSpacesMixin
  from maze.core.wrappers.wrapper import Wrapper
label_desc: Use image node_id 2 for calling the DummyStructuredEnvironment obj's underlying member method code with example usage: obj.reset() and returns: filter_dict_starts_with