public static boolean isV6(String netspec){
  return netspec.contains(":");
}

public static boolean isV6 ( String netspec ) { return netspec . contains ( ":" ) ; }
returns true if the string parameters is a ipv6 pattern . currently , only tests for presence of ' : ' .
