Use `key?`

`keys.include?` isn't straightforward and creates a needless temporary
array.