code: private boolean bundleListContains(List<JoinableResourceBundle> bundles, String bundleName) {
  		boolean contains = false;
  		for (JoinableResourceBundle bundle : bundles) {
  			if (bundle.getName().equals(bundleName)) {
  				contains = true;
  				break;
  			}
  		}
  		return contains;
  	}
docs: Checks if the bundle name exists in the bundle list
  
  @param bundles
  the bundle list
  @param bundleName
  the bundle name
  @return true if the bundle name exists in the bundle list