@Override
  public boolean getInRecovery() {
    if (mayDoRecovery) {
      return inRecovery;
    } else {
      return false;
    }
  }
Using CM as a Set of keys
geode-core/src/main/java/org/apache/geode/internal/cache/UnsharedImageState.java