def __contains__(self, val):
        return self._client.sismember(self.set_key, val)
Check if a value is a member of a set.
dataset/ETHPy150Open lethain/Redis-Python-Datastructures/redis_ds/redis_set.py/RedisSet.__contains__