hasExited should be a boolean in python drmaa.

Thanks to Bernie Pope for catching this with SLURM-drmaa.