private boolean checkFilterApplied() {
        if (settings != null) {
            if (settings.getSkipToSeverity() != null || settings.getSkipToOutput() != null) {
                return true;
            }
            if (settings.getFilters() != null) {
                for (final XPathFilter xPathFilter : settings.getFilters()) {
                    if (NullSafe.allNonNull(xPathFilter.getMatchType(), xPathFilter.getPath())) {
                        if (xPathFilter.getMatchType().isNeedsValue()) {
                            if (NullSafe.isNonEmptyString(xPathFilter.getValue())) {
                                return true;
                            }
                        } else {
                            return true;
                        }
                    }
                }
            }
        }

        return false;
    }
This method checks to see if a filter has been applied to this section of
the pipeline.
stroom-pipeline/src/main/java/stroom/pipeline/filter/SAXEventRecorder.java