question: private boolean isValidPlaylistName ( String newName ) { Playlist blankPlaylist = new Playlist ( newName , false ) ; return ! newName . isEmpty ( ) && ! musicLibrary . containsPlaylist ( blankPlaylist ) ; }
target:  Ensures that a string for a playlist is valid, checking if it is empty, or another playlist has the same name.