code: def wait_port(port_num, timeout):
      return wait_func_is_true(
          func=is_port_in_use, timeout=timeout, port_num=port_num
      )
  
file_path: mindsdb/mindsdb/utilities/ps.py
imports: import sys
  import time
  from collections import namedtuple
  import psutil
label_desc: Use image node_id 5 for calling a global function with example usage: wait_port(port_num, timeout) and returns: wait_func_is_true