def _is_expired(self, entry, timeout):
        # Returns true if the entry has expired
        return timeout > 0 and (time.time() - entry[0]) >= timeout
dataset/ETHPy150Open tweepy/tweepy/tweepy/cache.py/RedisCache._is_expired/original