check for displaying children in BOM

Is there a swConfigOption or swAssembly... or otherconfiguration setting I can check to see if the "Don't show childcomponents in BOM when used as sub-assembly" checkbox is checked?

I tried the swConfigOption_DontShowPartsInBOM option, but that isnot the correct thing to look for.

Thanks.SolidworksApi macros