Does the list above have any child nodes?
If you remove the child nodes of the list the result will be false.
Note: Whitespace between nodes is considered text nodes. If you leave any white space or line feeds, the list still has child nodes.