public boolean noPrimaryOrHasRegisteredInterest() {
      Profile[] locProfiles = profiles; // grab current profiles
      for (Profile locProfile : locProfiles) {
        HAProfile p = (HAProfile) locProfile;
        if (p.isPrimary) {
          return p.hasRegisteredInterest;
        }
      }
      // if no primary, we want to accept events
      return true;
    }
HARegions have their own advisors so that interest registration state can be tracked
geode-core/src/main/java/org/apache/geode/internal/cache/HARegion.java