boolean (@NotNull MavenDomProjectModel model) { return Optional.ofNullable(model.getProperties().getXmlTag()) .map(tag -> tag.findFirstSubTag(LanguageLevelPropertyQuickFix.MAVEN_COMPILER_SOURCE) != null) .orElse(false); }