def job_state(self, job_id):
        status = self.job_status(job_id)
        if status in 'state':
            return status['state']
        else:
            return None
dataset/ETHPy150Open heroku/salesforce-bulk/salesforce_bulk/salesforce_bulk.py/SalesforceBulk.job_state/swapped operands of `in`