boolean (@NotNull Project project, @NotNull Module module) { return ProjectRootManager.getInstance(project).getProjectSdk() == null && ModuleRootManager.getInstance(module).isSdkInherited() && ModuleManager.getInstance(project).getModules().length < 2; }