#NEWLINE# def model_is_ready( self , model , **kwargs ) : #NEWLINE# #INDENT# "Checks whether a model's status is FINISHED.\n\n        " #NEWLINE# check_resource_type ( model , MODEL_PATH , message = 'A model id is needed.' ) #NEWLINE# resource = self . get_model ( model , ** kwargs ) #NEWLINE# return resource_is_ready ( resource )