returns True if the element has child element(s).
def has_child(self): return len(self._children) != 0