def METHOD_NAME(self, job_object):
    job_id = int(job_object)
    job_url = urljoin(self._server.url, '/'.join(['jobs', str(job_id)]))
    while True:
        resp = self._server.session.get(job_url)
        resp.raise_for_status()
        data = resp.json()
        if data['state'] == 'Finished':
            health = data['health']
            return 0 if health == 'Complete' else 1
        time.sleep(3)