def get_job_overall_result(self):
        for job in self.doc['jobs'].values():
            if job['status'] != 'completed':
                return 'running'
            if job['result'] != 'success':
                return 'fail'
        return 'success'
check the status of all the jobs and return the overall session result
dataset/ETHPy150Open openstack/freezer-api/freezer_api/api/v1/sessions.py/Session.get_job_overall_result