gimp_image_get_component_active - Returns if the specified image's image component is active.
SYNOPSIS
active = gimp_image_get_component_active (image,component)
DESCRIPTION
This procedure returns if the specified image's image component (i.e. Red, Green, Blue intensity channels in an RGB image) is active or inactive -- whether or not it can be modified. If the specified component is not valid for the image type, an error is returned.