class LinkkiInMemoryContainer extends AbstractInMemoryContainer<T, Object, Item> implements Container.Hierarchical {

    @Override
    public boolean hasChildren(Object itemId) {
        return getHierarchicalItem(itemId)
                .map(HierarchicalRowPmo::hasChildRows)
                .orElse(false);
    }

}