These properties take into account whether the bar is visible or not - so they do in fact indicate whether the button is visible to you. This is how I originally coded the routine. However I can change it so that they indicate whether the button is visible in the bar, even if the bar is hidden, so that scripts can set/get these settings reliably. Unless anyone sees an issue with that, I'll make this change for the next version.