code: def is_pid_listen_port(pid, port):
      ports = get_listen_ports(pid)
      return int(port) in ports
  
file_path: mindsdb/mindsdb/utilities/ps.py
imports: import sys
  import time
  from collections import namedtuple
  import psutil
label_desc: Use image node_id 7 for calling a global function with example usage: is_pid_listen_port(pid, port) and returns: unknown