code: def test_actor_id_is_optional_for_single_network_policies():
      env = build_dummy_maze_env()
      policy = flatten_concat_probabilistic_policy_for_env(env)
  
      obs = env.reset()
      action = policy.compute_action(obs)  # No actor ID provided
      assert all(
          [key in env.action_space.spaces for key in action.keys()]
      )
  
imports: import pytest
  from maze.test.shared_test_utils.helper_functions import build_dummy_maze_env, flatten_concat_probabilistic_policy_for_env, build_dummy_maze_environment_with_discrete_action_space
label_desc: Use image node_id 1 for calling a global function with example usage: test_actor_id_is_optional_for_single_network_policies() without return types