#NEWLINE# def all_deps_completed( self , completed_jobs ) : #NEWLINE# #INDENT# 'Return True if all dependencies have been completed.' #NEWLINE# return all ( [ ( self in completed_jobs ) for dep_id in self . deps ] )