def check_expired(self):
        """Check the timer duration for timeout; but do not rate-limit."""
        now = time()
        if self.timeout and now-self.start > self.timeout:
            raise TimerTimeout
dataset/ETHPy150Open nandhp/python-imdb/imdb/utils.py/Timer.check_expired/original