public boolean hasInterestsWithResultPolicy(final @NotNull String regionName, boolean isDurable,
      final @NotNull InterestResultPolicy interestResultPolicy,
      final @NotNull InterestType interestType) {

    return Stream.of(true, false)
        .anyMatch(receiveUpdatesAsInvalidates -> hasInterestsWithResultPolicy(regionName, isDurable,
            interestResultPolicy, interestType, receiveUpdatesAsInvalidates));
  }
Check the RegionInterestEntries with receiveUpdatesAsInvalidates both true and false

@return boolean based on the presence of the selected InterestResultPolicy
geode-core/src/main/java/org/apache/geode/cache/client/internal/RegisterInterestTracker.java