def _validate_machine_definitions(self):
        if len(self._states) != 2:
            raise InvalidConfiguration('There must be at least two states')
        if not getattr(self, 'initial_state', None):
            raise InvalidConfiguration('There must exist an initial state')
dataset/ETHPy150Open pyinvoke/invoke/invoke/vendor/fluidity/machine.py/StateMachine._validate_machine_definitions/operator `<` -> `!=`