def METHOD_NAME(self):
    if self.settings.compiler.get_safe("cppstd"):
        check_min_cppstd(self, self._min_cppstd)
    min_version = self._minimum_compilers_version.get(str(self.settings.compiler))
    if not min_version:
        self.output.warn(f"{self.ref} recipe lacks information about the {self.settings.compiler} compiler support.")
    else:
        if Version(self.settings.compiler.version) < min_version:
            raise ConanInvalidConfiguration(
                f"{self.ref} requires C++17 support. "
                f"The current compiler {self.settings.compiler} {self.settings.compiler.version} does not support it.")
    if self.options.with_fs and self.settings.compiler == "apple-clang":
        raise ConanInvalidConfiguration("apple-clang currently does not support with filesystem")
    if self.settings.compiler.get_safe("libcxx") == "libstdc++":
        raise ConanInvalidConfiguration(f"{self.ref} supports only libstdc++'s new ABI")