code: def conduct_env_reproducibility_test(
      env: MazeEnv, pick_action: Callable, n_steps: int = 100
  ) -> bool:
      """
      Runs specified environment twice with specified callback to pick action.
      The observations of these two runs have to match.
  
      :param env: Initialized MazeEnv instance.
      :param pick_action: Reference to function choosing which action to take.
      :param n_steps: Number of steps to run.
      :return: True if reproducible; else False.
      """
  
      observation_hashes = []
      for _ in range(2):
          observations = run_reproducible_rollout(
              env, pick_action, n_steps
          )
          observation_hashes.append(
              str(hash_deterministically(observations))
          )
  
      assert len(observation_hashes) == 2
      return observation_hashes[0] == observation_hashes[1]
  
file_path: maze/maze/test/shared_test_utils/reproducibility.py
imports: import base64
  import hashlib
  from typing import Any, Tuple, Callable, List, Optional
  import numpy
  from maze.core.agent.policy import Policy
  from maze.core.env.maze_env import MazeEnv
  from maze.core.env.observation_conversion import ObservationType
label_desc: Use image node_id 3 for calling a global function with example usage: conduct_env_reproducibility_test(env, pick_action, n_steps) and returns: unknown