private boolean shouldTreeReactNowToRuleChanges() {
    ThreadingAssertions.assertEventDispatchThread();
    return myPresentation.isDetachedMode() || myTree.isShowing();
  }
private boolean shouldTreeReactNowToRuleChanges()