code: def _get_current_node(profiling: dict) -> dict:
      """return the node that the pointer points to
  
      Args:
          profiling (dict): whole profiling data
  
      Returns:
          dict: current node
      """
      current_node = profiling["tree"]
      for child_index in profiling["pointer"]:
          current_node = current_node["children"][child_index]
      return current_node
  
imports: import time
  from datetime import datetime, timezone
  from functools import wraps
  import mindsdb.utilities.hooks
  from mindsdb.utilities.config import Config
  from mindsdb.utilities.context import context
label_desc: Use image node_id 1 for calling a global function with example usage: _get_current_node(profiling) and returns: current_node