def or_(*xs):
    """Returns the first truthy value among the arguments, or the final
    argument if all values are falsy. If no arguments are provided,
    False is returned.

    """
    final = False
    for x in xs:
        if x:
            return x
        final = x
    return final