Sorry about it. The way i see it:

`challuser2 = challuser.get_random_opponent()
if not challuser2:
   return {'success': False, 'error': 'No random opponent found'}
`

Get random opponent should return a ChallengeUser.