public boolean noPrimaryOrHasRegisteredInterest() {
    return ((HARegionAdvisor) distAdvisor).noPrimaryOrHasRegisteredInterest();
  }
whether the primary queue for the client has registered interest, or there is no primary
present
geode-core/src/main/java/org/apache/geode/internal/cache/HARegion.java