boolean (@NotNull AnActionEvent e) { Project project = e.getProject(); RunContentDescriptor descriptor = e.getData(LangDataKeys.RUN_CONTENT_DESCRIPTOR); return project != null && descriptor != null && getAutoTestManager(project).isAutoTestEnabled(descriptor); }