def __contains__(self, key):
try:<EOL><INDENT>self.transaction_executor(<EOL>single_value_sql,<EOL>"""<STR_LIT>""",<EOL>(key,)<EOL>)<EOL>return True<EOL><DEDENT>except SQLDidNotReturnSingleValue:<EOL><INDENT>return False<EOL><DEDENT>
return True if we have a job by this key