public boolean isReconnectCancelled() {
    return reconnectCancelled;
  }
Returns true if this DS has been attempting to reconnect but the attempt has been cancelled.
geode-core/src/main/java/org/apache/geode/distributed/internal/InternalDistributedSystem.java