Oh, I see. This isn't the right way to do this. To check if a key exists in a hash, do: 

```
hash[key].nil? # to tell if it is not defined. 

Or, 
hash[key] # If the key is not defined, this will generally nil. So you can do things like this. 
```

you can also just do 

```


if hash.has_key?(key)  #Note that these are (), because this is a function. 
   # This executes if the key IS defined. 
   puts "That key is defined"
end

```