checking all keys exist in collection.