public static boolean didGII(GIIStatus giiStatus) {
      return (giiStatus == GIIStatus.GOTIMAGE_BY_FULLGII
          || giiStatus == GIIStatus.GOTIMAGE_BY_DELTAGII);
    }
inhibit use of StateFlush for the current thread
geode-core/src/main/java/org/apache/geode/internal/cache/InitialImageOperation.java