def has_key(self, key, version=None):
        key = self.make_key(key, version=version)
        return key in self._cache
Returns True if the key is in the cache and has not expired.
dataset/ETHPy150Open grantjenks/python-diskcache/diskcache/djangocache.py/DjangoCache.has_key