Implemented has_key() function.