get if a pattern operation in assembly is Suppressed???

Hello:

I am programing a macro.

I have selected in the feature manager a pattern and I need to know how can I get if this selection is suppressed or not, and in case tha the selection the state is suppres delete the patern.

Thanks.

SolidworksApi macros