code: def _get_ipengine_pid(profile):
      rc = ipp.Client(profile=profile)
      engine_pids = rc[:].apply(os.getpid).get_dict()
      return engine_pids
  
imports: import argparse
  import json
  import os
  import multiprocessing
  import signal
  import subprocess
  import time
  from typing import Dict, List
  import ipyparallel
  import bluefog
  from bluefog.run import env_util, network_util, horovod_driver
label_desc: Use image node_id 8 for calling a global function with example usage: _get_ipengine_pid(profile) and returns: engine_pids