code: def interrupt(self):
      self.interrupted = True
      log.info("Received interrupt request")
  
imports: import datetime
  import logging
  import threading
  import time
  from modules import errors, shared, devices
  from typing import Optional
label_desc: Use image node_id 9 for calling the State obj's underlying member method code with example usage: obj.interrupt() without return types