code: def check_broker_online(address):
      rpc = moolib.Rpc()
      rpc.connect(address)
      rpc.set_timeout(2)
      try:
          rpc.sync("broker", "")
      except RuntimeError as e:
          # TODO: Add "ping" feature to moolib so we don't need to do _this_!
          if "timed out" in str(e):
              raise
  
file_path: moolib/py/moolib/examples/sbatch_experiment.py
imports: import argparse
  import ctypes
  import getpass
  import os
  import socket
  import sys
  import coolname
  import moolib
label_desc: Use image node_id 3 for calling a global function with example usage: check_broker_online(address) without return types