public static boolean isV4(String ipAddress) {
        return !isV6(ipAddress) && ipAddress.contains(".");
    }
Returns whether given string is an IPv4 address
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/node/IP.java