code: private static boolean couldBeYarnConfigurationPath(final String path) {
      return path.contains("conf") ||
              path.contains("etc") ||
              path.contains(HadoopEnvironment.HADOOP_CONF_DIR);
    }
docs: The oracle that tells us whether a given path could be a YARN configuration path.
  
  @param path
  @return