Check constraint status of Sketch-Blocks to identify "which is unconstrained"

I want to write a code to list unconstrained sketch items in a sketch,
particularly Sketch Blocks because Sketch-Blocks' status is not visible with blue/black color.

Actually I often have trouble to identify which item is not unconstrained in a sketch when it has many sketch-blocks.

I could pick up unconstrained sketch segments, points, but have no idea to handle Sketch-blocks.

Could you give me ideas to pick up Sketch-block's constraint status?

SolidworksApi macros