Macro to Break "out of context" references only

Is it possible to break only "out of context" references via SolidWorks API? I'm able to find which feature has "out of context" references but unable to find the option to break reference for that specific feature.

swCompModel.Extension.BreakAllExternalFileReferences2 - break all external references irrespective of the reference status

SolidworksApi/macros