def run_filters(type)
      halted = false
      tracker = env['scorched.executed_filters'] ||= {before: Set.new, after: Set.new}
      filters[type].reject { |f| tracker[type].include?(f) }.each do |f|
        unless check_for_failed_condition(f[:conditions]) || (halted && !f[:force])
          tracker[type] << f
          halted = true unless run_filter(f)
        end
      end
      !halted
    end
def run_filters(type)
      halted = false
      tracker = env['scorched.executed_filters'] ||= {before: Set.new, after: Set.new}
      filters[type].reject { |f| tracker[type].include?(f) }.each do |f|
        unless check_for_failed_condition(f[:conditions]) || (halted && !f[:force])
          tracker[type] << f
          halted = true unless run_filter(f)
        end
      end
      !halted
    end
Returns false if any of the filters halted the request. True otherwise.