def all(iterable):
        for element in iterable:
            if not element:
                return False
        return True

# Required for python2.4 backward compatibilty
# Add a class called "defaultdict" which is equivalent to "collections.defaultdict"
Return True if all elements of the iterable are true (or if the iterable is empty)
dataset/ETHPy150Open YelpArchive/python-gearman/gearman/compat.py/all