private static boolean isUpper(final char c) {
        return c >= 'A' && c <= 'Z';
    }
A collection of utilities relating to Domain Name System.

@since 4.5
httpclient5/src/main/java/org/apache/hc/client5/http/utils/DnsUtils.java