Document.mode will return the doc's color mode. If it returns DocumentMode.INDEXEDCOLOR then the doc is index color.
Thank you Michael! Looking up the word "index" in the docs isn't so helpful! Doh!