@get_client()
    def has_key(self, client, key):
        return client.exists(key)
Returns True if the key is in the cache and has not expired.
dataset/ETHPy150Open sebleier/django-redis-cache/redis_cache/backends/base.py/BaseRedisCache.has_key