public static bool IsParent(this TreeContext context, IToken child, IToken parent) { return(context.GetParents(child).Contains(parent)); }