public static boolean mayStartWith(String... prefixes) {
        if (prefixes == null || prefixes.length == 0) {
            return false;
        }

        StringBuilder builder = new StringBuilder();
        for (int i = 0, len = prefixes.length; i < len; i++) {
            builder.append(prefixes[i].toUpperCase()).append(' ');
        }
        String prefix = builder.toString();
        builder.setLength(builder.length() - 1);
        String typeName = builder.toString();
        for (String alias : allAliases) {
            if (alias.startsWith(prefix) || alias.equals(typeName)) {
                return true;
            }
        }

        return false;
    }
Checks if any alias uses the given prefixes.

@param prefixes prefixes to check
@return true if any alias using the given prefixes; false otherwise
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseDataType.java