def all(values, truthy=True):
    """
    Returns the first falsy value encountered in the values interable,
    falling back to the given truthy value.
    
    """
    for value in values:
        if not value:
            return value
    return truthy
