code: public static boolean supportAlluxioHA(PrintWriter reportWriter,
        AlluxioConfiguration alluxioConf) {
      if (alluxioConf.getBoolean(PropertyKey.ZOOKEEPER_ENABLED)) {
        reportWriter.println("Alluixo is running in high availability mode.\n");
        if (!alluxioConf.isSet(PropertyKey.ZOOKEEPER_ADDRESS)) {
          reportWriter.println("Please set Zookeeper address to support "
              + "Alluxio high availability mode.\n");
          return false;
        } else {
          reportWriter.printf("Zookeeper address is: %s.%n",
              alluxioConf.get(PropertyKey.ZOOKEEPER_ADDRESS));
        }
      }
      return true;
    }
docs: Checks if the Zookeeper address has been set when running the Alluxio HA mode.
  
  @param reportWriter save user-facing messages to a generated file
  @param alluxioConf Alluxio configuration
  @return true if Alluxio HA mode is supported, false otherwise