code: def test_eager_permissions(worker, guest_client):
      root_domain_client = worker.root_client
      input_obj = TwinObject(
          private_obj=np.array([[3, 3, 3], [3, 3, 3]]),
          mock_obj=np.array([[1, 1, 1], [1, 1, 1]]),
      )
  
      input_ptr = root_domain_client.api.services.action.set(input_obj)
  
      pointer = guest_client.api.services.action.get_pointer(
          input_ptr.id
      )
  
      input_ptr = root_domain_client.api.services.action.set(input_obj)
  
      pointer = guest_client.api.services.action.get_pointer(
          input_ptr.id
      )
  
      flat_ptr = pointer.flatten()
  
      res_guest = guest_client.api.services.action.get(flat_ptr.id)
      assert not isinstance(res_guest, ActionObject)
      res_root = root_domain_client.api.services.action.get(flat_ptr.id)
      assert all(res_root == [3, 3, 3, 3, 3, 3])
  
file_path: PySyft/packages/syft/tests/syft/eager_test.py
imports: import numpy
  from syft.service.action.action_object import ActionObject
  from syft.service.action.plan import planify
  from syft.types.twin_object import TwinObject
label_desc: Use image node_id 1 for calling a global function with example usage: test_eager_permissions(worker, guest_client) without return types