src/vs/workbench/contrib/debug/browser/debugCommands.ts/isThreadContext
function isThreadContext(obj: any): obj is CallStackContext {
	return obj && typeof obj.sessionId === 'string' && typeof obj.threadId === 'string';
}