Raises an exception if the address is not allowed to be set
        in this context, based on txn outputs.

        Notes:
            Checks that the address is either listed fully as one of the
            outputs, or some portion of the address is listed as a namespace
            in the outputs of the txn.

        Args:
            address (str): The address to be validated. The context manager
                validates the address correctness (70 hex characters).
        Returns:
            None

        Raises:
            AuthorizationException

def _validate_write(self, address):
        """Raises an exception if the address is not allowed to be set
        in this context, based on txn outputs.

        Notes:
            Checks that the address is either listed fully as one of the
            outputs, or some portion of the address is listed as a namespace
            in the outputs of the txn.

        Args:
            address (str): The address to be validated. The context manager
                validates the address correctness (70 hex characters).
        Returns:
            None

        Raises:
            AuthorizationException
        """

        if not any(address.startswith(ns) for ns in self._write_list):
            raise AuthorizationException(address=address)