boolean (@NotNull AnActionEvent e) { Object[] nodes = e.getData(PlatformCoreDataKeys.SELECTED_ITEMS); return nodes == null || !ContainerUtil.and(nodes, path -> path instanceof ProblemDescriptionNode); }