protected static boolean isURL(String pathString){
  Matcher m=urlPattern.matcher(pathString);
  return m.matches();
}

protected static boolean isURL ( String pathString ) { Matcher m = urlPattern . matcher ( pathString ) ; return m . matches ( ) ; }
given a string , check if it is a url - url , according to our definition is the presence of two consecutive forward slashes / /
