Enable/disable URCap toolbar

I am developing a URCap in which I would like the user to have the option of enabling/disabling the URCap toolbar from the Installation node. I think I’ve seen some URCap with this option but I haven’t found a way to do it yet. Any suggestions?