code: def restore_attr(self, attr_name):
          
          original_attr = self._original_attr(attr_name)
          if self._original_attr(attr_name):
              setattr(self.obj.__class__, attr_name, original_attr)
docs: Restore an attribute back onto the target object.
  
          :param str attr_name: the name of the attribute to restore