def jobMM(job, minerva_metadata=None, save=True):
    if minerva_metadata is None:
        if 'meta' not in job or 'minerva' not in job['meta']:
            return {}
        return job['meta']['minerva']
    else:
        if job not in 'meta':
            job['meta'] = {}
        job['meta']['minerva'] = minerva_metadata
        if save:
            ModelImporter.model('job', 'jobs').save(job)
        return job['meta']['minerva']
dataset/ETHPy150Open Kitware/minerva/server/utility/minerva_utility.py/jobMM/swapped operands of `not in`