Check whether a sketch, part or assembly is fully defined or not

Hi,

I've searched the API-help for a function to check whether a sketch, part or assembly is fully defined, but I couln't find anything useful. Is it possible to do this?

SolidworksApi macros