Shows and hides the palette based upon the value of has_palette.
true if palette is to be visible, false otherwise
Shows and hides the palette based upon the value of has_palette.