Returns true if the time is beyond the window

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 False