boolean (@NotNull AnAction action, @NotNull AnActionEvent e) { return NewActionGroup.isActionInNewPopupMenu(action) && (ActionPlaces.MAIN_MENU.equals(e.getPlace()) || ActionPlaces.isPopupPlace(e.getPlace())); }