do we get value in testing `has_key?`? it looks like the data check would fail if the key does not the exist.