public SharedConfigurationStatus getStatus() {
    SharedConfigurationStatus scStatus = status.get();
    if (scStatus == SharedConfigurationStatus.STARTED) {
      PersistentMemberManager pmm = cache.getPersistentMemberManager();
      Map<String, Set<PersistentMemberID>> waitingRegions = pmm.getWaitingRegions();
      if (!waitingRegions.isEmpty()) {
        status.compareAndSet(SharedConfigurationStatus.STARTED,
            SharedConfigurationStatus.WAITING);
        Set<PersistentMemberID> persistentMemberIDS =
            waitingRegions.get(SEPARATOR_CHAR + CONFIG_REGION_NAME);
        for (PersistentMemberID persistentMemberID : persistentMemberIDS) {
          newerSharedConfigurationLocatorInfo.add(new PersistentMemberPattern(persistentMemberID));
        }
      }
    }
    return status.get();
  }
Gets the current status of the ConfigurationPersistenceService If the status is started , it
determines if the shared configuration is waiting for new configuration on other locators

@return {@link SharedConfigurationStatus}
geode-core/src/main/java/org/apache/geode/distributed/internal/InternalConfigurationPersistenceService.java