src/vs/base/common/ternarySearchTree.ts/TernarySearchTree/has
class TernarySearchTree:	has(key: K): boolean {
		const node = this._getNode(key);
		return !(node?.value === undefined && node?.mid === undefined);
	}