def all(seq):
    """
    Predict used to check if all items in a seq are True.
    :returns: True if all items in seq are True
    """
    for item in seq:
        if not item:
            return False
    return True
