Check if child node is text node in upcast.