def exit_success(jid, ext_source=None):
 ret = dict()
 data = list_job(jid, ext_source=ext_source)
 minions = data['Minions']
 result = data['Result']
 for minion in minions:
  if ((minion in result) and ('return' in result[minion])):
   ret[minion] = (True if result[minion]['return'] else False)
  else:
   ret[minion] = False
 return ret

def exit_success ( jid , ext_source = None ) : ret = dict ( ) data = list_job ( jid , ext_source = ext_source ) minions = data [ 'Minions' ] result = data [ 'Result' ] for minion in minions : if ( ( minion in result ) and ( 'return' in result [ minion ] ) ) : ret [ minion ] = ( True if result [ minion ] [ 'return' ] else False ) else : ret [ minion ] = False return ret
check if a job has been executed and exit successfully jid the jid to look up .