@Override
  public boolean isRunning() {
    DistributionManager dm =
        ((AdminDistributedSystemImpl) getDistributedSystem()).getDistributionManager();
    if (dm == null) {
      try {
        return controller.isRunning(this);
      } catch (IllegalStateException e) {
        return false;
      }
    }
    return dm.getDistributionManagerIdsIncludingAdmin()
        .contains(getDistributedMember());
  }
Creates a new <code>CacheServerImpl</code> that represents an existing dedicated cache server
in a given distributed system.
geode-core/src/main/java/org/apache/geode/admin/internal/CacheServerImpl.java