code: def _disable_heart_beatcheck(profile):
      config_file = os.path.join(
          _get_ip_file_dir(profile), "..", "ipengine_config.py"
      )
      try:
          with open(config_file, "w") as f:
              f.write("c.EngineFactory.max_heartbeat_misses = 0")
          return True
      except:
          return False
  
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 3 for calling a global function with example usage: _disable_heart_beatcheck(profile) and returns: True, False