jnpr/space/async.py
def _task_is_done(self, message):
        """
        Checks if the task is done by examining the progress-update message.
        """
        if message.state == "DONE":
            return True

        try:
            for sub_task in message.subTask:
                if sub_task.state != "DONE":
                    return False

            return True
        except AttributeError:
            return False

        Checks if the task is done by examining the progress-update message.
        
Checks if the task is done by examining the progress-update message.
Checks if the task is done by examining the progress - update message .
def _task_is_done(self, message):
        if message.state == "DONE":
            return True
        try:
            for sub_task in message.subTask:
                if sub_task.state != "DONE":
                    return False
            return True
        except AttributeError:
            return False
def _task_is_done ( self , message ) : if message . state == "DONE" : return True try : for sub_task in message . subTask : if sub_task . state != "DONE" : return False return True except AttributeError : return False
Checks if the task is done by examining the progress-update message.
Checks if the task is done by examining the progress - update message .
"""
        Checks if the task is done by examining the progress-update message.
        """
self
message