code: def test_shutdown():
      g = Cluster(initialize_head=False)
      node = g.add_node()
      node2 = g.add_node()
      g.shutdown()
      assert not any(n.any_processes_alive() for n in [node, node2])
  
file_path: ray/python/ray/tests/test_multi_node_2.py
imports: import logging
  import time
  import pytest
  import ray
  from ray._private.test_utils import SignalActor, generate_system_config_map, wait_for_condition
  from ray.autoscaler._private.monitor import Monitor
  from ray.autoscaler.sdk import request_resources
  from ray.cluster_utils import Cluster
  from ray.util.placement_group import placement_group, remove_placement_group
label_desc: Use image node_id 2 for calling a global function with example usage: test_shutdown() without return types