public boolean isUnknown() {
        return resourceType.isUnknown() || patternType.isUnknown();
    }
@return {@code true} if this filter has any UNKNOWN components.
clients/src/main/java/org/apache/kafka/common/resource/ResourcePatternFilter.java