# File lib/brakeman/checks/check_redirect.rb, line 138
  def has_only_path? arg
    if value = hash_access(arg, :only_path)
      return true if true?(value)
    end

    false
  end