src/vs/editor/contrib/codelens/codelensWidget.ts/CodeLensWidget/isValid
class CodeLensWidget:	isValid(): boolean {
		return this._decorationIds.some((id, i) => {
			const range = this._editor.getModel().getDecorationRange(id);
			const symbol = this._data[i].symbol;
			return !!(range && Range.isEmpty(symbol.range) === range.isEmpty());
		});
	}