code: def test_pickling_actor_handle(ray_start_regular_shared):
      @ray.remote
      class Foo:
          def method(self):
              pass
  
      f = Foo.remote()
      new_f = ray._private.worker.pickle.loads(
          ray._private.worker.pickle.dumps(f)
      )
      # Verify that we can call a method on the unpickled handle. TODO(rkn):
      # we should also test this from a different driver.
      ray.get(new_f.method.remote())
  
imports: import os
  import sys
  import time
  import numpy
  import pytest
  import ray
  import ray._private.gcs_utils
  from ray.util.state import list_actors
  import ray.cluster_utils
  from ray._private.test_utils import SignalActor, convert_actor_state, kill_actor_and_wait_for_failure, make_global_state_accessor, run_string_as_driver, wait_for_condition, wait_for_pid_to_exit
  from ray._private.ray_constants import gcs_actor_scheduling_enabled
  from ray.experimental.internal_kv import _internal_kv_get, _internal_kv_put
label_desc: Use image node_id 24 for calling a global function with example usage: test_pickling_actor_handle(ray_start_regular_shared) without return types