def contains(self, field):
        key = self.get_key()
        result = self.redis.hexists(key, field)
        activity_found = bool(result)
        return activity_found
Uses hexists to see if the given field is present
dataset/ETHPy150Open tschellenbach/Stream-Framework/stream_framework/storage/redis/structures/hash.py/RedisHashCache.contains