Returns if key exists.
Return value
Integer reply, specifically:
1if the key exists.0if the key does not exist.
Examples
redis>
SET key1 "Hello"
OKredis> EXISTS key1
(integer) 1redis> EXISTS key2
(integer) 0