<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_data(self, *keys, value):
 """Set a value in the instance `data` dict. :param keys: the `data` dict keys referencing the value in the `data` dict. :type keys: str :param value: the value to be set in the `data` dict. Note that `value` is a keyword-only argument. :returns: `True` if successful. """

        _datadict = self.data
        for ii, _key in enumerate(keys):
            if ii==len(keys)-1:
                _datadict[_key] = value
            else:
                if _key not in _datadict:
                    _datadict[_key] = {}
                _datadict = _datadict[_key]
        return True