code: def test_default_action_space_sampling():
      env = build_dummy_maze_env()
      policy = RandomPolicy(env.action_spaces_dict)
      action = policy.compute_action(
          observation=env.observation_space.sample(), maze_state=None
      )
      assert action in env.action_space
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_default_action_space_sampling() without return types