public <T extends BaseGeocacheFilter> boolean containsAny(final Class<T> filterClazz, final Predicate<T> filterCheck) {
        return TRUE.equals(traverseFiltersInternal(this.getTree(),
                f -> filterClazz.isAssignableFrom(f.getClass()) &&
                        (filterCheck == null || filterCheck.test((T) f)) ? true : null));
    }
returns true if filter contains the given BaseFilter somewhere in its tree
main/src/main/java/cgeo/geocaching/filters/core/GeocacheFilter.java