code: def idle_task(self):
          '''called on idle'''
          if self.threat_timeout_timer.trigger():
              self.check_threat_timeout()
  
          if self.threat_detection_timer.trigger():
              self.perform_threat_detection(f idle_task(self):
          '''called on idle'''
          if self.threat_timeout_timer.trigger():
              self.check_threat_timeout()
  
          if self.threat_detection_timer.trigger():
              self.perform_threat_detection()
docs: called on idle