code: def process_results(self, results=None, **value):
          
          for res in results:
              if 'mask' in res:
                  res['mask'] = utils.IrcString(res['mask'])
              value['success'] = res.pop('retcode', None) != '486'
              value.update(res)
          return value
docs: take results list of all events and return first dict