def assert_fitted(self):
        if not self.fitted:
            raise RuntimeError('Model has not been fit.')
Raises `RuntimeError` if the model is not ready for prediction.
dataset/ETHPy150Open UDST/urbansim/urbansim/models/dcm.py/MNLDiscreteChoiceModel.assert_fitted