@Override
  public boolean isCacheListenerInvocationInProgress() {
    return areAnyBitsSet(LISTENER_INVOCATION_IN_PROGRESS);
  }
Any bits in "bitMask" that are 0 will be cleared.
geode-core/src/main/java/org/apache/geode/internal/cache/entries/AbstractRegionEntry.java