playlist.append() check arguments before state check