docs: def accept_transfer(transfer, comment=None):
      '''Accept an incoming a transfer request'''
      TransferResponsePermission(transfer).test()
  
      transfer.responded = datetime.now()
      transfer.responder = current_user._get_current_object()
      transfer.status = 'accepted'
      transfer.response_comment = comment
      transfer.save()
  
      subject = transfer.subject
      recipient = transfer.recipient
      if isinstance(recipient, Organization):
          subject.organization = recipient
      elif isinstance(recipient, User):
          subject.owner = recipient
  
      subject.save()
  
      return transfer