def METHOD_NAME(self):
    if self.info.settings.compiler.get_safe("cppstd"):
        check_min_cppstd(self, self._min_cppstd)
    minimum_version = self._compilers_minimum_version.get(str(self.info.settings.compiler), False)
    if minimum_version and Version(self.info.settings.compiler.version) < minimum_version:
        raise ConanInvalidConfiguration(
            f"{self.ref} requires C++{self._min_cppstd}, which your compiler does not support.",
        )
    if self.info.options.with_tls and not self.dependencies["hiredis"].options.with_ssl:
        raise ConanInvalidConfiguration(f"{self.name}:with_tls=True requires hiredis:with_ssl=True")