parameters: (self, new_hold_time: Optional[float])
return_statement: return lower_bound <= hold_time <= new_hold_time
docstring: Since we can only get hold time *remaining* from TC, by the time we
          read hold_time after a set_temperature, the hold_time in TC could have
          started counting down. So instead of checking for equality, we will
          have to check if the hold_time returned from TC is within a few seconds
          of the new hold time. The number of seconds is determined by status
          polling frequency.
docstring_summary: Since we can only get hold time *remaining* from TC, by the time we
          read hold_time after a set_temperature, the hold_time in TC could have
          started counting down. So instead of checking for equality, we will
          have to check if the hold_time returned from TC is within a few seconds
          of the new hold time. The number of seconds is determined by status
          polling frequency.
docstring_tokens: Since we can only get hold time * remaining * from TC by the time we read hold_time after a set_temperature the hold_time in TC could have started counting down . So instead of checking for equality we will have to check if the hold_time returned from TC is within a few seconds of the new hold time . The number of seconds is determined by status polling frequency .
function: def hold_time_probably_set(self, new_hold_time: Optional[float]) -> bool:
          """
          Since we can only get hold time *remaining* from TC, by the time we
          read hold_time after a set_temperature, the hold_time in TC could have
          started counting down. So instead of checking for equality, we will
          have to check if the hold_time returned from TC is within a few seconds
          of the new hold time. The number of seconds is determined by status
          polling frequency.
          """
          if new_hold_time is None:
              return True
          hold_time = self.hold_time
          if hold_time is None:
              return False
          lower_bound = max(0.0, new_hold_time - self._hold_time_fuzzy_seconds)
          return lower_bound <= hold_time <= new_hold_time
function_tokens: def hold_time_probably_set ( self , new_hold_time : Optional [ float ] ) -> bool : if new_hold_time is None : return True hold_time = self . hold_time if hold_time is None : return False lower_bound = max ( 0.0 , new_hold_time - self . _hold_time_fuzzy_seconds ) return lower_bound <= hold_time <= new_hold_time