def _check_filters(self, filters):
        self.logger.debug("Checking filters")
        match = False

        for key, value in filters.iteritems():
            try:
                module = 'synapse.filters.%s' % key
                m = __import__(module)
                parts = module.split('.')
                for comp in parts[1:]:
                    m = getattr(m, comp)

                match = m.check(value)
                if match == False:
                    break
            except __HOLE__:
                pass

        self.logger.debug("Filters match: %s" % match)
        return match
dataset/ETHPy150Open comodit/synapse-agent/synapse/controller.py/Controller._check_filters