code: def get_parent_pid(pid):
      import psutil
  
      cur_proc = psutil.Process(pid)
      return cur_proc.ppid()
  
imports: import re
label_desc: Use image node_id 4 for calling a global function with example usage: get_parent_pid(pid) and returns: cur_proc