# File lib/brakeman/processors/alias_processor.rb, line 791
  def simple_when? exp
    node_type? exp[1], :array and
      not node_type? exp[1][1], :splat, :array and
      (exp[1].length == 2 or
       exp[1].all? { |e| e.is_a? Symbol or node_type? e, :lit, :str })
  end