code: def is_available(self) -> bool:
          
          status_response = self.get_state(
              'api/host/daemonCheck.json'
          )
  
          if not status_response:
              return False
  
          return status_response.get('result') == 1
docs: Indicate if this ZoneMinder service is currently available.