def METHOD_NAME(self):
    if self.settings.compiler.get_safe("cppstd"):
        check_min_cppstd(self, 11)
    # opencolorio>=2.2.0 requires minizip-ng with with_zlib
    if Version(self.version) >= "2.2.0" and \
        not self.dependencies["minizip-ng"].options.get_safe("with_zlib", False):
        raise ConanInvalidConfiguration(f"{self.ref} requires minizip-ng with with_zlib = True.")
    if Version(self.version) == "1.1.1" and self.options.shared and self.dependencies["yaml-cpp"].options.shared:
        raise ConanInvalidConfiguration(f"{self.ref} requires static build yaml-cpp")
    if Version(self.version) == "2.2.1" and self.options.shared and self.dependencies["minizip-ng"].options.shared:
        raise ConanInvalidConfiguration(f"{self.ref} requires static build minizip-ng")