Update samurai/xmlutils.py

Relying on False to test for sub-elements is deprecated according to python docs.

"Caution: Elements with no subelements will test as False. This behavior will change in future versions. Use specific len(elem) or elem is None test instead."