redis.sadd("set", "a", "b", "c") assert redis.sismember("set", "a") == True
Check if a member exists in a set
True
False
Was this page helpful?