boolean isPopupActive() {
    for (IdePopupEventDispatcher each : myDispatchStack) {
      if (each.getComponent() == null || !UIUtil.isShowing(each.getComponent())) {
        myDispatchStack.remove(each);
      }
    }

    return !myDispatchStack.isEmpty();
  }
boolean isPopupActive()