}
final ExternalContext externalContext = new StartupServletExternalContextImpl(servletContext, true);
final FacesConfigResourceProviderFactory factory = FacesConfigResourceProviderFactory.
getFacesConfigResourceProviderFactory(externalContext);
final FacesConfigResourceProvider provider = factory.createFacesConfigResourceProvider(externalContext);
final Collection<URL> metaInfFacesConfigUrls = provider.getMetaInfConfigurationResources(externalContext);
if (metaInfFacesConfigUrls == null) {
return false;
}
// remove our internal faces-config.xml