def HasExpired(self):
    if self.timeout_s is None:
      return False
    return self.seconds > self.timeout_s

  # Bad API. alusco is sometimes bad at naming.
Returns True if the timeout has expired.
dataset/ETHPy150Open google/openhtf/openhtf/util/timeouts.py/PolledTimeout.HasExpired