def METHOD_NAME(self):
    try:
        self.conan_data["sources"][self.version][str(self.settings.os)][str(self.settings.arch)][self._compiler_alias]
    except KeyError:
        raise ConanInvalidConfiguration("Binaries for this combination of version/os/arch/compiler are not available")
    if self.settings.os == "Windows" and self.options.shared:
        raise ConanInvalidConfiguration(f"Shared Windows build of {self.ref} are non-working atm (no import libraries are available)")
    if self.settings.os == "Linux" and self.options.shared and "2.3.0" <= Version(self.version):
        raise ConanInvalidConfiguration(f"Shared Linux build of {self.ref} are not working. It requires glibc >= 2.25")
    if is_msvc(self) and not self.options.shared and not is_msvc_static_runtime(self):
        raise ConanInvalidConfiguration(f"{self.ref} is only available with compiler.runtime=static")