class ArchetypePreferencesManager {

    boolean containsArchetype(final String archetype) {
        return archetypePreferences.getArchetypeSelectionMap().containsKey(archetype);
    }

    public  ArchetypePreferencesManager();
    @Inject public  ArchetypePreferencesManager(final PreferenceScopeFactory scopeFactory,
                                       final WorkbenchPreferenceScopeResolutionStrategies workbenchPreferenceScopeResolutionStrategies,
                                       final ArchetypePreferences archetypePreferences,
                                       final OrganizationalUnitService ouService);

}