docstr: Make end-of-life == end-of-episode, but only reset on true game over.
  Done by DeepMind for the DQN and co. since it helps value estimation.
code: def __init__(self, env):
      """Make end-of-life == end-of-episode, but only reset on true game over.
      Done by DeepMind for the DQN and co. since it helps value estimation.
      """
      gym.Wrapper.__init__(self, env)
      self.lives = 0
      self.was_real_terminated = True
  
imports: from collections import deque
  import gymnasium
  from gymnasium import spaces
  import numpy
  from typing import Union
  from ray.rllib.utils.annotations import PublicAPI
  from ray.rllib.utils.images import rgb2gray, resize
label_desc: Use image node_id 1 to create a new EpisodicLifeEnv object from inherited base classes: gym with example: obj = EpisodicLifeEnv(env)