boolean (@NotNull AnActionEvent e) { ProjectFrameHelper frame = getFrame(); if (frame != null) { StatusBarEx statusBar = frame.getStatusBar(); if (statusBar != null) { return statusBar.isProcessWindowOpen(); } } return false; }