def METHOD_NAME(self, label, menu, player, library):
    song_menu = self._get_menu(player, library)
    has_selection = label.get_selection_bounds()[0]
    if not has_selection:
        for child in menu.get_children():
            child.destroy()
        for item in song_menu:
            song_menu.remove(item)
            menu.append(item)
    else:
        sub = Gtk.MenuItem.new_with_mnemonic(_("Current _Song"))
        sub.set_submenu(song_menu)
        sub.set_sensitive(player.song is not None)
        sub.show_all()
        sep = SeparatorMenuItem()
        sep.show()
        menu.append(sep)
        menu.append(sub)