Use `key?' instead of `has_key?'.