public static boolean isRelativePath(final String path){
  return path.startsWith("^/");
}

public static boolean isRelativePath ( final String path ) { return path . startsWith ( "^/" ) ; }
indicates if path is absolute or a relative .
