boolean (@NotNull AnAction action) { AnActionEvent event = AnActionEvent.createFromAnAction(action, null, ActionPlaces.WELCOME_SCREEN, DataContext.EMPTY_CONTEXT); action.update(event); return event.getPresentation().isVisible(); }