src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.ts/canExpandCompletionItem
export function canExpandCompletionItem(item: CompletionItem | undefined): boolean {
	return !!item && Boolean(item.completion.documentation || item.completion.detail && item.completion.detail !== item.completion.label);
}