No ternary required here. Also, do you need `===`? 

```ruby
result[:params][:data][0][:installed] == 1