<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def persistent_attributes(self, persistent_attributes):
 # type: (Dict[str, object]) -> None """Overwrites and caches the persistent attributes value. Note that the persistent attributes will not be saved to persistence layer until the save_persistent_attributes method is called. :param persistent_attributes: attributes in persistence layer :type persistent_attributes: Dict[str, object] :raises: :py:class:`ask_sdk_core.exceptions.AttributesManagerException` if trying to set persistent attributes without persistence adapter """

        if not self._persistence_adapter:
            raise AttributesManagerException(
                "Cannot set PersistentAttributes without persistence adapter!")
        self._persistence_attributes = persistent_attributes
        self._persistent_attributes_set = True