code: public static boolean isHAEnabled(Configuration configuration) {
          boolean ret = false;
  
          if (configuration.containsKey(HAConfiguration.ATLAS_SERVER_HA_ENABLED_KEY)) {
              ret = configuration.getBoolean(ATLAS_SERVER_HA_ENABLED_KEY);
          } else {
              String[] ids = configuration.getStringArray(HAConfiguration.ATLAS_SERVER_IDS);
  
              ret = ids != null && ids.length > 1;
          }
  
          return ret;
      }
docs: Return whether HA is enabled or not.
  @param configuration underlying configuration instance
  @return