ensure_valid_colormapable/3
     ensure_valid_colormapable(+Colormapable, -Colormap, +Goal)
     

Colormap is the valid colormap associated with Colormapable. If it's not, an error message mentioning Goal is printed, and execution is aborted.