Added hasKey to NSDictionary.