export const isLeafNode = (item) => {
    return !item.items || item.items.length === 0;
};