

def __eq__(self, other):
    if isinstance(other, self.__class__):
        return (self._sp_playlist == other._sp_playlist)
    else:
        return False

dataset/ETHPy150Open mopidy/pyspotify/spotify/playlist.py Playlist.__eq__/original