Checks if the this contains key.
key
instance of Dictionary
key to check
true if found, false otherwise.