def current_playlist_is_protected(self): current_playlist_id = self.current_playlist.get_id() if current_playlist_id in StaticPlaylists().get_ids(): return True else: return False
def _current_playlist_is_protected(self): current_playlist_id = self._current_playlist.get_id() return current_playlist_id in StaticPlaylists().get_ids()