src/vs/workbench/api/common/extHostTypeConverters.ts/isDecorationOptions
function isDecorationOptions(something: any): something is vscode.DecorationOptions {
	return (typeof something.range !== 'undefined');
}