boolean (AnActionEvent e) { final Project project = MavenActionUtil.getProject(e.getDataContext()); if(project == null) return false; MavenRunner mavenRunner = MavenRunner.getInstanceIfCreated(project); if(mavenRunner == null) return false; return mavenRunner.getState().isSkipTests(); }