docstr: Reset the environment and all the variable of the wrapper
  
  :param force_environment_reset: forces environment reset even when the game did not end
  :return: A dictionary containing the observation, reward, done flag, action and measurements
code: def reset_internal_state(
      self, force_environment_reset=False
  ) -> EnvResponse:
      """
      Reset the environment and all the variable of the wrapper
  
      :param force_environment_reset: forces environment reset even when the game did not end
      :return: A dictionary containing the observation, reward, done flag, action and measurements
      """
  
      self._restart_environment_episode(force_environment_reset)
      self.last_episode_time = time.time()
  
      if (
          self.current_episode_steps_counter > 0
          and self.phase != RunPhase.UNDEFINED
      ):
          self.episode_idx += 1
  
      self.done = False
      self.total_reward_in_current_episode = self.reward = 0.0
      self.last_action = 0
      self.current_episode_steps_counter = 0
      self.last_episode_images = []
      self._update_state()
  
      # render before the preprocessing of the observation, so that the image will be in its original quality
      if self.is_rendered:
          self.render()
  
      self.last_env_response = EnvResponse(
          reward=self.reward,
          next_state=self.state,
          goal=self.goal,
          game_over=self.done,
          info=self.info,
      )
  
      return self.last_env_response
  
imports: import operator
  import time
  from collections import OrderedDict
  from typing import Union, List, Tuple, Dict
  import numpy
  from rl_coach import logger
  from rl_coach.base_parameters import Parameters
  from rl_coach.base_parameters import VisualizationParameters
  from rl_coach.core_types import GoalType, ActionType, EnvResponse, RunPhase
  from rl_coach.environments.environment_interface import EnvironmentInterface
  from rl_coach.logger import screen
  from rl_coach.renderer import Renderer
  from rl_coach.spaces import ActionSpace, ObservationSpace, DiscreteActionSpace, RewardSpace, StateSpace
  from rl_coach.utils import squeeze_list, force_list
label_desc: Use image node_id 14 for calling the Environment obj's underlying member method code with example usage: obj.reset_internal_state(force_environment_reset) and returns: self