예제 #1
0
 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
예제 #2
0
 def _current_playlist_is_protected(self):
     current_playlist_id = self._current_playlist.get_id()
     return current_playlist_id in StaticPlaylists().get_ids()