def has_transition(self, state):
        """
        Lookup if any transition exists from current model state using current method
        """
        if state in self.transitions:
            return True

        if '*' in self.transitions:
            return True

        if '+' in self.transitions and self.transitions['+'].target != state:
            return True

        return False
dataset/ETHPy150Open kmmbvnr/django-fsm/django_fsm/__init__.py/FSMMeta.has_transition/original