def METHOD_NAME(self, setting_widgets):
    sfilter = self._secondary_filter
    if sfilter is not None:
        for sw in setting_widgets:
            if not sfilter.match(sw.data):
                yield sw