(self, task_id)
return task.status
Return if a task is finish.
         @param task_id: task id.
         @return: true if a task is complete.
Return if a task is finish.
Return if a task is finish .
def get_status(self, task_id):
        """Return if a task is finish.
         @param task_id: task id.
         @return: true if a task is complete.
        """
        session = self.Session()
        try:
            task = session.query(Task).get(task_id)
        except SQLAlchemyError:
            return None
        return task.status
def get_status ( self , task_id ) : session = self . Session ( ) try : task = session . query ( Task ) . get ( task_id ) except SQLAlchemyError : return None return task . status