let's use `key?` and not `has_key?`. See [this](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/43765) for context.