private boolean isInsideCommitHandler() {
    ThreadingAssertions.assertEventDispatchThread();
    return actionsWhenAllDocumentsAreCommitted.get(PERFORM_ALWAYS_KEY) == EmptyRunnable.getInstance();
  }
private boolean isInsideCommitHandler()