@Override
  public boolean wasRegionClearedDuringGII() {
    if (isReplicate()) {
      boolean result = wasRegionClearedDuringGII;
      if (result) {
        wasRegionClearedDuringGII = false;
      }
      return result;
    } else {
      return false;
    }
  }
Returns true if a region clear was received on the region during a GII. If true is returned the
the flag is cleared. This method is used by unit tests.
geode-core/src/main/java/org/apache/geode/internal/cache/UnsharedImageState.java