contains_package method

On this page

contains_package

Determines whether a package exists in the XMP wrapper.

def contains_package(self, namespace_uri):
    ...
Parameter Type Description
namespace_uri str Package namespace URI.

Returns: bool: True if a package with the given namespace URI is found; otherwise False.

Raises Description
ValueError If namespace_uri is None.

See Also

On this page