code: private boolean hasVariantPostProcessor(JoinableResourceBundle bundle) {
  
  		boolean hasVariantPostProcessor = false;
  		ResourceBundlePostProcessor bundlePostProcessor = bundle.getBundlePostProcessor();
  		if (bundlePostProcessor != null
  				&& ((AbstractChainedResourceBundlePostProcessor) bundlePostProcessor).isVariantPostProcessor()) {
  			hasVariantPostProcessor = true;
  		} else {
  			bundlePostProcessor = bundle.getUnitaryPostProcessor();
  			if (bundlePostProcessor != null
  					&& ((AbstractChainedResourceBundlePostProcessor) bundlePostProcessor).isVariantPostProcessor()) {
  				hasVariantPostProcessor = true;
  			}
  		}
  
  		return hasVariantPostProcessor;
  	}
docs: Checks if the bundle has variant post processor
  
  @param bundle
  the bundle
  @return true if the bundle has variant post processor