code: def is_expired(self):
          '''
          Returns true if the time is beyond the window
          '''
          if self.window is not None:
              return (self._time() - self.start_time) >= self.window
          return Falsf is_expired(self):
          '''
          Returns true if the time is beyond the window
          '''
          if self.window is not None:
              return (self._time() - self.start_time) >= self.window
          return False
docs: Returns true if the time is beyond the window