def check(self):
        if self.timeout > 0:
            if time.time() - self._mark > self.timeout:
                raise TimeoutException('%s seconds have passed' % self.timeout)
        return False
dataset/ETHPy150Open base4sistemas/pyescpos/escpos/helpers.py/TimeoutHelper.check/original