def check_all_jobs_complete(jobs):
    """Given a list of jobs from the DB, check that all are done processing."""
    for job in jobs:
        if(job['status'] == 'processing'):
            return False
    return True