Some bool-style checks on xml.etree.ElementTree.Element objects are used to determine if they're empty. These checks throw errors during normal use: ...