# File lib/brakeman/checks/check_yaml_parsing.rb, line 97
  def disabled_xml_dangerous_types?
    if version_between? "0.0.0", "2.3.14"
      matches = tracker.check_initializers("ActiveSupport::CoreExtensions::Hash::Conversions::XML_PARSING""ActiveSupport::CoreExtensions::Hash::Conversions::XML_PARSING", :delete)
    else
      matches = tracker.check_initializers("ActiveSupport::XmlMini::PARSING""ActiveSupport::XmlMini::PARSING", :delete)
    end

    symbols_off = false
    yaml_off = false

    matches.each do |result|
      arg = result.call.first_arg

      if string? arg
        if arg.value == "yaml"
          yaml_off = true
        elsif arg.value == "symbol"
          symbols_off = true
        end
      end
    end

    symbols_off and yaml_off
  end