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

	return Array.isArray(candidate.items);
}