code: def active(self) -> bool:
          
          states = self._client.get_state(self._state_url)['states']
          for state in states:
              state = state['State']
              if int(state['Id']) == self._state_id:
                  # yes, the ZM API uses the *string* "1" for this...
                  return state['IsActive'] == "1"
          return False
docs: Indicate if this RunState is currently active.