@serialized
    def off(self, event=None, listener=None):
        super(Playlist, self).off(event, listener)
        if (self.num_listeners() == 0 and
                self in self._session._emitters):
            self._session._emitters.remove(self)
dataset/ETHPy150Open mopidy/pyspotify/spotify/playlist.py/Playlist.off/original