code: def _stationarystate(self, k):
          
          if self._distributionmodel:
              return self.model.stationarystate(k)
          else:
              return self.model.stationarystate
docs: Returns the stationarystate .