code: public static boolean hasRoot(Path path, Path root) {
          return hasRoot(path.getPath(), root.getPath());
      }
docs: @return true if the given path starts with the given root
  
  @param path test path
  @param root root