JSREF
HTML DOM Element hasChildNodes()
Does an element have child nodes: