code: def is_idle(self):
          
          return (self.status is None or
                  self.app_id in (None, IDLE_APP_ID) or
                  (not self.status.is_active_input and not self.ignore_cec))
docs: Returns if there is currently an app running.