private static boolean isIPv6(String host) {
    return host.contains(":");
  }
Checks if the given host name string contains ':' as in IPv6 host address.

@param host host name string
@return true if the host string contains ':', false otherwise
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/MemberInfoWithStatsMBean.java