boolean (@NotNull ToolWindow toolWindow) { Iterator<ActionToolbar> iterator = iterateToolbars(Collections.singletonList(toolWindow.getContentManager().getComponent())).iterator(); return iterator.hasNext() && iterator.next().getComponent().isVisible(); }