boolean (ProjectStructureDetector thisDetector) { for (ProjectStructureDetector projectStructureDetector : ProjectStructureDetector.EP_NAME.getExtensionList()) { if (projectStructureDetector != thisDetector && !getProjectRoots(projectStructureDetector).isEmpty()) { return true; } } return false; }