Not only check if the key exists, but also make sure that the value
of the key is the same as anticipated.