def __nonzero__(self):
        """Return True if it is the empty Tree, False otherwise."""
        try:
            self.cargo
        except TypeError:
            return False
        else:
            return True
Return True if it is the empty Tree, False otherwise.
recipes/Python/201423_Trees_and_more_trees_part_II/recipe-201423.py