public static bool IsDescendentOf(this Element descendent, Element ancestor) { return(ancestor.Contains(descendent)); }