need macro to check whether sketch is fully constrained or not

Hello everyone!

I need a macro to check whether the sketch is fully constrained or not.

thanks in advance

SolidworksApi macros