code: public Multimap<Boolean, CmsCategoryTreeEntry> getEntriesIndexedByLocality() {
  
          return ArrayListMultimap.create(
              Multimaps.index(m_categoryEntries, new Function<CmsCategoryTreeEntry, Boolean>() {
  
                  @SuppressWarnings("synthetic-access")
                  public Boolean apply(CmsCategoryTreeEntry entry) {
  
                      return Boolean.valueOf(entry.getBasePath().equals(m_basePath));
                  }
              }));
      }
docs: Gets a multimap of the top-level entries, indexed by whether they are local categories or not.<p>
  
  A category counts as local if all of its parent categories are defined in the current sitemap.
  
  @return the multimap of entries