code: def succeed(self, instance, action):
          
          uid = api.get_uid(instance)
          return self.objects.get(uid, {}).get(action, {}).get('success', False)
docs: Returns if the task for the instance took place successfully