code: def unwrap(obj, attr):
      
      f = getattr(obj, attr, None)
      if f and isinstance(f, wrapt.ObjectProxy) and hasattr(f, '__wrapped__'):
          setattr(obj, attr, f.__wrapped__)
docs: Will unwrap a `wrapt` attribute
      :param obj: base object
      :param attr: attribute on `obj` to unwrap