def highlight_helm?(conditions)
      Array(conditions).any? do |condition|
        case condition
        when Symbol, String
          condition.to_s == controller_name
        when Array
          if condition.first.to_s == controller_name
            Array(condition.last).any? { |given| given.to_s == action_name }
          end
        else
          raise TypeError,
            "invalid format for highlight options, "\
            "expected Symbol, Array or Hash got #{conditions.class.name}"
        end
      end
    end
def highlight_helm?(conditions)
      Array(conditions).any? do |condition|
        case condition
        when Symbol, String
          condition.to_s == controller_name
        when Array
          if condition.first.to_s == controller_name
            Array(condition.last).any? { |given| given.to_s == action_name }
          end
        else
          raise TypeError,
            "invalid format for highlight options, "\
            "expected Symbol, Array or Hash got #{conditions.class.name}"
        end
      end
    end
Indicates if for the given conditions the helm should be highlighted.
 Examples:
   Given we are in pictures controller and action index
   highlight_helm?(:pictures)                          # true
   highlight_helm?(:foobar)                            # false
   highlight_helm?(pictures: :index)                   # true
   highlight_helm?(pictures: [:index, :show])          # true
   highlight_helm?(pictures: [:index, :show], :foobar) # true