<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _dstationarystate(self, k, param):
 """Returns the dstationarystate ."""

        if self._distributionmodel:
            return self.model.dstationarystate(k, param)
        else:
            return self.model.dstationarystate(param)