Shows and hides the palette based upon the value of @has_palette.
%TRUE if palette is to be visible, %FALSE otherwise
See Implementation
Shows and hides the palette based upon the value of @has_palette.