code: def minmax(low, high):
      
      def decorator(function):
          """Decorate a function with args."""
          @functools.wraps(function)
          def wrapper(*args, **kwargs):
              """Wrap the function."""
              series = function(*args, **kwargs)
              lo_pass = low <= series
              hi_pass = series <= high
  
              return lo_pass & hi_pass
  
          return wrapper
  
      return decorator
docs: Test that the data items fall within range: low <= x <= high.