private boolean canHandleFolders(CmrRepository repo) { ContentStore cs = repo.getRoot().getService(ContentStore.class); return cs != null && cs.canHandleFolders(); }