public static boolean isSuperUser(String user) {
    return superUsers.contains(user) || superGroups.contains(user);
  }
Check if the current user is a super user
@return true if current user is a super user, false otherwise.
@param user to check
hbase-common/src/main/java/org/apache/hadoop/hbase/security/Superusers.java