def get_current_state(self):
        try:
            return self.get_last_transition().destination_state
        except __HOLE__:
            return self.workflow.get_initial_state()
dataset/ETHPy150Open mayan-edms/mayan-edms/mayan/apps/document_states/models.py/WorkflowInstance.get_current_state