#NEWLINE# def is_job_done( workflow_id , run_id ) : #NEWLINE# #INDENT# info = get_execution_info ( workflow_id , run_id ) #NEWLINE# return ( run_id [ 'executionInfo' ] [ 'executionStatus' ] == 'CLOSED' )