Use API to Check Part/Assembly Fully Defined?

I've been searching on and off for an answer or method to this question for a while.

Is it possible to use the API to check or get the constraint status of a part or assembly? (Fully Defined, Under Defined, etc.)  So far, I have found a solution that is specific to Sketches, but what I am looking for is a 'Get' command or some type of check that I can run to return an output for a specified Assembly that just tells me the constraint status of the assembly.  My initial guess was that there would be a command specific for this, since the Feature Manager tree has the '(-) symbols next to any part in the assembly that is under-defined. But this has proven to be much more obscure to figure out.

Thanks for any help.

SolidworksApi macros