I am submitting jobs like this:
  sub = htcondor.Submit(submit_dict)
  with schedd.transaction() as txn:
    id = sub.queue(txn)
Now I want to be able to tell if the job has completed or not, and
when it has completed, if it succeeded or failed. How can I do that?