Trick :) `[:selected, :installed].include? product["status"]` and then better put the array outside as a `CONSTANT`