const hasExtraRow = (dataSource || []).find(item => Array.isArray(item.children) && item.children.length > 0)