@Override
  public boolean isIndexCreationThread() {
    Boolean value = isIndexCreator.get();
    return value != null ? value : false;
  }
Use ONLY imSync for IndexManager get and set.

@return {@link IndexManager} lock.
geode-core/src/main/java/org/apache/geode/internal/cache/AbstractRegion.java