public boolean hasChildren(final K key) {
        return NullSafe.hasItems(parentKeyToChildNodesMap.get(key));
    }
@param key
@return True if the node for this key has at least one child
stroom-explorer/stroom-explorer-impl/src/main/java/stroom/explorer/impl/AbstractTreeModel.java