How to extract the associated palette from 8-bit indexed image in a PDF file using PoDoFo?

There is currently a call to set an 8-bit indexed colorspace as follows:

void PoDoFo::PdfImage::SetImageColorSpace(EPdfColorSpace eColorSpace, const PdfArray *indexedData)

I am trying to ascertain if there is an equivalent call of GetImageColorSpace() or some other method.
`podofo-0.9.5/src/doc/PdfImage.h contains the following commented line:

//EPdfColorSpace GetImageColorSpace() const;

Does the function currently exist?