SISMEMBER
Synopsis
SISMEMBER key member_value
This command is a predicate for whether or not a value is a member of a set that is associated with the given key
.
Return Value
Returns 1 if the specified member exists. Returns 0 otherwise.
Examples
$ SADD yuga_world "America"
1
$ SISMEMBER yuga_world "America"
1
$ SISMEMBER yuga_world "Moon"
0