code: def _poll(state):
      util.loop(
          lambda: _run_staged(state), time.sleep, state.poll_interval, 0
      )
  
imports: import logging
  import os
  import signal
  import time
  from guild import lock
  from guild import op_util
  from guild import util
  from guild import var
label_desc: Use image node_id 6 for calling a global function with example usage: _poll(state) without return types