src/vs/platform/quickinput/browser/pickerQuickAccess.ts/isFastAndSlowPicks
function isFastAndSlowPicks<T>(obj: unknown): obj is FastAndSlowPicks<T> {
	const candidate = obj as FastAndSlowPicks<T>;

	return !!candidate.picks && candidate.additionalPicks instanceof Promise;
}