code: def status(name, title, stop_cmd=None):
      stop_cmd = stop_cmd or f"guild sys {name} stop"
      try:
          status = service.status(name)
      except service.PidfileError as e:
          cli.error(f"error reading pid in {e.pidfile}: {e.error}")
      except service.OrphanedProcess as e:
          cli.out(
              "Shutdown timer is NOT running (orphaned pid in "
              f"{e.pidfile} - use '{stop_cmd}' to cleanup)"
          )
      else:
          if status.running:
              cli.out(f"{title} is running (pid {status.pid})")
          else:
              cli.out(f"{title} is not running")
  
imports: from guild import cli
  from guild import service
label_desc: Use image node_id 3 for calling a global function with example usage: status(name, title, stop_cmd) without return types