src/vs/base/browser/ui/tree/indexTreeModel.ts/isFilterResult
export function isFilterResult<T>(obj: any): obj is ITreeFilterDataResult<T> {
	return typeof obj === 'object' && 'visibility' in obj && 'data' in obj;
}