def METHOD_NAME(self, raw_data: bytes) -> bool:
    try:
        content = raw_data.decode()
    except UnicodeDecodeError:
        return False
    config_directives = self.config_pattern.findall(content)
    kernel_config_banner = self.kernel_pattern_new.findall(content) or self.kernel_pattern_old.findall(content)
    return len(kernel_config_banner) > 0 and len(config_directives) > 0