code: def as_list(callable):
      
      @wraps(callable)
      def wrapper(value_iter):
          return [callable(value) for value in value_iter]
  
      return wrapper
docs: Convert a scalar validator in a list validator