protected boolean isClosed() {
    return primaryState == CLOSED;
  }
Returns true if this advisor has been closed.

@return true if this advisor has been closed
geode-core/src/main/java/org/apache/geode/internal/cache/BucketAdvisor.java