def is_edit_notebook_job(self, job):
    return (self.workflow.edit_notebook and (job.targetfile in self.targetfiles))
def is_edit_notebook_job(self, job):
    return (self.workflow.edit_notebook and (job.targetfile in self.targetfiles))