public boolean isTypeIncluded(final QueryHelpType queryHelpType) {
        if (queryHelpType == null || NullSafe.isEmptyCollection(includedTypes)) {
            return false;
        } else {
            return includedTypes.contains(queryHelpType);
        }
    }
@param textType
@param includedTypes  Set to false to exclude datasources and structure items.
@param maxCompletions
stroom-core-shared/src/main/java/stroom/query/shared/CompletionsRequest.java