def provides_package_version(self, package_name: str, package_version: str) -> bool:
try:<EOL><INDENT>return package_version in self.get_package_versions(package_name)<EOL><DEDENT>except NotFound:<EOL><INDENT>return False<EOL><DEDENT>
Check if the given source provides package in the given version.