def exists(self):
        return bool(self.collection.find_one({"_id": self.id}, projection={"_id": 1}))
Returns True if a job with the current _id exists in MongoDB.
dataset/ETHPy150Open pricingassistant/mrq/mrq/job.py/Job.exists