checking if a node is pure value of consists of neseted element scala> (<a x="x">value</a>).child.forall(_.isAtom) res67: Boolean = true scala> (<a x="x"><b>value</b></a>).child.forall(_.isAtom) res68: Boolean = false