``` rb
@base.inputs.key?(attribute) # ActiveInteraction
@base.attributes.key?(attribute) # ActiveRecord
```

Is there a better option in [`ActiveModel::Model`](https://github.com/rails/rails/blob/master/activemodel/lib/active_model/model.rb)?