hash.has_key() / hash.keys.include?() 使えば?