def file_expired(self, modified_time):
        """Given modified time (as unix timestamp), return True for expired or False for new enough to be OK."""
        expiry_time = _time.time() - self.expiry_seconds

        if modified_time < expiry_time:
            return True
        else:
            return False
dataset/ETHPy150Open crypt3lx2k/Imageboard-Image-Scraper/Lib/StaticFiles.py/StaticFileHandler.file_expired/original