code: public static boolean isAuthenticationEnabled(AlluxioConfiguration conf) {
      return !conf.getEnum(PropertyKey.SECURITY_AUTHENTICATION_TYPE, AuthType.class)
          .equals(AuthType.NOSASL);
    }
docs: Checks if authentication is enabled.
  
  @param conf Alluxio configuration
  @return true if authentication is enabled, false otherwise