all

all(iterable)

Return true if all elements of the iterable are true. Equivalent to:

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

New in version 2.5.

 

A Django site. rendered by a django application. hosted by webfaction.