make sure the desired key value pairs exist in a given object