def dictionary(self, value):
        """Set dictionary"""
        self._dictionary = value or {}
        if not isinstance(self._dictionary, dict):
            raise BadArgumentError("dictionary must be dict: {}".format(
                self._dictionary))
Set dictionary