code: public static boolean useSingleLocaleDetailContainers(String siteRoot) {
  
          boolean result = false;
          if ((siteRoot != null)
              && (OpenCms.getLocaleManager().getLocaleHandler() instanceof CmsSingleTreeLocaleHandler)) {
              CmsSite site = OpenCms.getSiteManager().getSiteForSiteRoot(siteRoot);
              result = (site != null) && CmsSite.LocalizationMode.singleTree.equals(site.getLocalizationMode());
          }
          return result;
      }
docs: Checks whether single locale detail containers should be used for the given site root.<p>
  
  @param siteRoot the site root to check
  
  @return <code>true</code> if single locale detail containers should be used for the given site root