def METHOD_NAME(self):
    if self.settings.compiler.get_safe("cppstd"):
        tools.check_min_cppstd(
            self, self._minimum_standard)
    def lazy_lt_semver(v1, v2):
        lv1 = [int(v) for v in v1.split(".")]
        lv2 = [int(v) for v in v2.split(".")]
        min_length = min(len(lv1), len(lv2))
        return lv1[:min_length] < lv2[:min_length]
    minimum_version = self._compilers_minimum_version.get(
        str(self.settings.compiler), False)
    if not minimum_version:
        self.output.warn(
            "{0} {1} requires C++{2}. Your compiler is unknown. Assuming it supports C++{2}."
            .format(self.name, self.version, self._minimum_standard))
    elif lazy_lt_semver(str(self.settings.compiler.version), minimum_version):
        raise ConanInvalidConfiguration(
            "{} {} requires C++{}, which your compiler does not support."
            .format(self.name, self.version, self._minimum_standard))