@SuppressWarnings("unchecked")
  public <T extends ConfigurationPersistenceService> T getConfigurationPersistenceService() {
    InternalLocator locator = InternalLocator.getLocator();
    return locator == null ? null : (T) locator.getConfigurationPersistenceService();
  }
For those commands that could possibly change the cluster configuration, they need to
override this method to return true.

@return whether the command may change the cluster configuration
geode-gfsh/src/main/java/org/apache/geode/management/cli/GfshCommand.java