def validate_all(*validators):
    """
    returns a validator that evaluates to true only if all validators passed through
    the argument validators also evaluate to true
    :param validators: validators to be chained
    :return: a validator function
    """

    def validator(value):
        return all(v(value) for v in validators)

    return validator