code: def end_episode(self):
      self.analytics_client.track(
          event_key="END_EPISODE",
          data={
              "episode": self.episode,
              "episode_data": self.end_episode_data,
              "episode_steps": self.episode_steps,
              "maximum_steps": self.episode_maximum_steps,
          },
      )
  
file_path: SerpentAI/serpent/environment.py
imports: import time
  import collections
  from serpent.input_controller import KeyboardEvent, KeyboardEvents
  from serpent.input_controller import MouseEvent, MouseEvents
  from serpent.config import config
  from serpent.analytics_client import AnalyticsClient
label_desc: Use image node_id 7 for calling the Environment obj's underlying member method code with example usage: obj.end_episode() without return types