def expired(self):
        if self._duration is None:
            return False
        if self.elapsed() > self._duration:
            return True
        return False
dataset/ETHPy150Open openstack/entropy/entropy/utils.py/StopWatch.expired/original