private static bool IsFoliated(XmlNode node) => node != null && node is XmlBoundElement ? ((XmlBoundElement)node).IsFoliated : true;