code: def convert_result(converter):
      
  
      def decorate(fn):
          @inspection.wraps(fn)
          def new_fn(*args, **kwargs):
              return converter(fn(*args, **kwargs))
  
          return new_fn
  
      return decorate
docs: Decorator that can convert the result of a function call.