src/vs/workbench/contrib/comments/browser/commentsTreeViewer.ts/CommentsAsyncDataSource/hasChildren
class CommentsAsyncDataSource:	hasChildren(element: any): boolean {
		return element instanceof CommentsModel || element instanceof ResourceWithCommentThreads || (element instanceof CommentNode && !!element.replies.length);
	}