code: def register_env(env_id):
      if env_id == "Maze2D-v0":
          envs.register(
              id=env_id,
              entry_point="env:maze2d.Maze2D",
              kwargs={},
              max_episode_steps=200,
              reward_threshold=-110.0,
          )
      elif env_id == "PuddleWorld-v0":
          envs.register(
              id=env_id,
              entry_point="env:puddleworld.PuddleWorld",
              kwargs={},
              max_episode_steps=200,
              reward_threshold=-100.0,
          )
      else:
          raise ValueError(
              'Cannot find environment "{0}"\n'.format(env_id)
          )
      return True
  
label_desc: Use image node_id 1 for calling a global function with example usage: register_env(env_id) and returns: True