def METHOD_NAME(self):
    if self.settings.compiler.get_safe("cppstd"):
        check_min_cppstd(self, self._minimum_cpp_standard)
    # check minimum version of compiler
    min_version = self._minimum_compilers_version.get(str(self.settings.compiler))
    if not min_version:
        self.output.warning(
            f"{self.name} recipe lacks information about the {self.settings.compiler} compiler support."
        )
    else:
        if Version(self.settings.compiler.version) < min_version:
            raise ConanInvalidConfiguration(
                f"{self.name} requires {self.settings.compiler} {self.settings.compiler.version} "
                f"but found {min_version}"
            )
    # Disallow MT and MTd
    if is_msvc_static_runtime(self):
        raise ConanInvalidConfiguration(f"{self.name} can not be built with MT or MTd at this time")
    if self.options.shared and self.settings.os == "Windows":
        raise ConanInvalidConfiguration(f"{self.name} does not currently support shared library on Windows")