code: def _get_serve_actors(self):
      controller = _get_global_client()._controller
      routers = list(ray.get(controller.get_proxies.remote()).values())
      all_handles = routers + [controller]
      replica_dict = ray.get(controller._all_running_replicas.remote())
      for deployment_id, replica_info_list in replica_dict.items():
          if deployment_id.app not in self.sanctuary:
              for replica_info in replica_info_list:
                  all_handles.append(replica_info.actor_handle)
  
      return all_handles
  
imports: import asyncio
  import logging
  import os
  import random
  import string
  import time
  from typing import List
  import requests
  import ray
  from ray import serve
  from ray.serve.context import _get_global_client
  from ray.cluster_utils import Cluster
  from ray._private.test_utils import safe_write_to_results_json
label_desc: Use image node_id 2 for calling the RandomKiller obj's underlying member method code with example usage: obj._get_serve_actors() and returns: all_handles