def _detect_by_cname(self):
    for waf in self.waf_cname_map:
        if any(((waf in str(cname)) for cname in self.cnames)):
            self.logger.info('{} Detected WAF presence in CNAME: {}{}{}'.format(COLORED_COMBOS.BAD, COLOR.RED, self.waf_cname_map.get(waf), COLOR.RESET))
            self.waf_present = True
def _detect_by_cname(self):
    for waf in self.waf_cname_map:
        if any(((waf in str(cname)) for cname in self.cnames)):
            self.logger.info('{} Detected WAF presence in CNAME: {}{}{}'.format(COLORED_COMBOS.BAD, COLOR.RED, self.waf_cname_map.get(waf), COLOR.RESET))
            self.waf_present = True