The key to get.
The field to check.
redis.hset("key", "field", "value")assert redis.hexists("key", "field") == True