def compare_property_vs_target(property, target)
      case target
      when NilClass
        return true if property.nil?
      when Liquid::Expression::MethodLiteral # `empty` or `blank`
        return true if Array(property).join == target.to_s
      else
        Array(property).each do |prop|
          return true if prop.to_s == target.to_s
        end
      end

      false
    end
def compare_property_vs_target(property, target)
      case target
      when NilClass
        return true if property.nil?
      when Liquid::Expression::MethodLiteral # `empty` or `blank`
        return true if Array(property).join == target.to_s
      else
        Array(property).each do |prop|
          return true if prop.to_s == target.to_s
        end
      end

      false
    end
`where` filter helper