code: def check(check, message, error_class=RuntimeError):
      """tests `check` and raises `RuntimeError` with `message` if false"""
      if not check:
          raise error_class(message)
  
label_desc: Use image node_id 1 for calling a global function with example usage: check(check, message, error_class) without return types