#NEWLINE# def ensemble_is_ready( self , ensemble ) : #NEWLINE# #INDENT# "Checks whether a ensemble's status is FINISHED.\n\n        " #NEWLINE# check_resource_type ( ensemble , ENSEMBLE_PATH , message = 'An ensemble id is needed.' ) #NEWLINE# resource = self . get_ensemble ( ensemble ) #NEWLINE# return resource_is_ready ( resource )