code: def create_action_node(verify_key: SyftVerifyKey) -> NodeActionData:
      """
      Helper function to create an action node of a random
      array of 3 float numbers
      """
      random_data = np.random.rand(3)
      action_obj = ActionObject.from_obj(random_data)
      action = Action(
          path="action.execute",
          op="np.array",
          remote_self=None,
          args=[action_obj.syft_lineage_id],
          kwargs={},
      )
      action_node = NodeActionData.from_action(
          action=action, credentials=verify_key
      )
      assert action_node.type == NodeType.ACTION
      return action_node
  
imports: import numpy
  import pytest
  from syft.node.credentials import SyftSigningKey
  from syft.node.credentials import SyftVerifyKey
  from syft.service.action.action_graph import InMemoryActionGraphStore
  from syft.service.action.action_graph import InMemoryGraphConfig
  from syft.service.action.action_graph import NetworkXBackingStore
  from syft.service.action.action_graph import NodeActionData
  from syft.service.action.action_graph import NodeType
  from syft.service.action.action_graph_service import ActionGraphService
  from syft.service.action.action_object import Action
  from syft.service.action.action_object import ActionObject
label_desc: Use image node_id 2 for calling a global function with example usage: create_action_node(verify_key) and returns: action_node