src/vs/base/browser/ui/tree/indexTreeModel.ts/isCollapsibleStateUpdate
function isCollapsibleStateUpdate(update: CollapseStateUpdate): update is CollapsibleStateUpdate {
	return typeof (update as any).collapsible === 'boolean';
}