public static boolean pathsContainNoScheme(Collection<Path> paths) {
    for( Path path  : paths){
      if(path.toUri().getScheme() != null){
        return false;
      }
    }
    return true;
  }
Return whenever all paths in the collection are schemaless

@param paths
@return
common/src/java/org/apache/hadoop/hive/common/FileUtils.java