public boolean isStopped() {
    return !membershipLocator.isAlive();
  }
answers whether this locator is currently stopped
geode-core/src/main/java/org/apache/geode/distributed/internal/InternalLocator.java