src/vs/workbench/contrib/debug/browser/watchExpressionsView.ts/isDebugService
function isDebugService(element: any): element is IDebugService {
	return typeof element.getConfigurationManager === 'function';
}