both ``root.find_class`` and ``root.select`` return lists. Lists evaluate to False when they are empty, otherwise to True. I think it is more pythonic (better style) to use boolean operators in this case because we are actually just interested whether searching for a ``.error`` class will succeed or not. We are not interested in the number of error classes, just in the existence of them.