code: def kill_actor(actor):
      """A helper function that kills an actor process."""
      pid = ray.get(actor.get_pid.remote())
      os.kill(pid, SIGKILL)
      wait_for_pid_to_exit(pid)
  
imports: import atexit
  import asyncio
  import collections
  import numpy
  import os
  import pytest
  import signal
  import sys
  import time
  import ray
  from ray.actor import exit_actor
  import ray.cluster_utils
  from ray._private.test_utils import wait_for_condition, wait_for_pid_to_exit, generate_system_config_map, SignalActor
label_desc: Use image node_id 10 for calling a global function with example usage: kill_actor(actor) without return types