private static boolean userBelongsToSuperGroup(String superGroupName, List<String> groups) {
    return groups.contains(superGroupName);
  }
Implements the default file access logic for HadoopShims.checkFileAccess(), for Hadoop
versions which do not implement FileSystem.access().
shims/common/src/main/java/org/apache/hadoop/fs/DefaultFileAccess.java