in atomresponder/models.py [0:0]
def is_failed(self):
"""
Returns a boolean indicating whether the status of this job represents any kind of failure
:return:
"""
if self.status=='FAILED_TOTAL' or self.status=='FINISHED_WARNING' or self.status=='ABORTED':
return True
else:
return False