boolean (@NotNull Module module) { VirtualFile[] roots = ModuleRootManager.getInstance(module).getContentRoots(); return roots.length != 0 && FrameworkSupportUtil.hasProviders(module, DefaultFacetsProvider.INSTANCE); }