Is `nil` not a valid property value? It might make sense to check for the property on the input instead:

```ruby
!input.first.has_key?(property)
```

I can see a scenario where the property is set but set to `nil`.