'Will return True if hunt\'s task was assigned to this client before.'

def _CheckIfHuntTaskWasAssigned(self, client_id, hunt_id):

    for _ in aff4.FACTORY.Stat([client_id.Add(('flows/%s:hunt' % rdfvalue.RDFURN(hunt_id).Basename()))], token=self.token):
        return True
    return False
