hasTextChild

Returns true if the node's children consist of only text children.