def contains(self, value):
        key = self.get_key()
        result = self.redis.zscore(key, value)
        activity_found = result is not None
        return activity_found
Uses zscore to see if the given activity is present in our sorted set
dataset/ETHPy150Open tschellenbach/Stream-Framework/stream_framework/storage/redis/structures/sorted_set.py/RedisSortedSetCache.contains