docs: def add_context_tags(self, data, clear=False):
          """ Replaces any existing context tag data with the provided values.
          
          :param data: A dictionary of key/value pairs. Keys must be strings.
              Values can be strings or numeric values.
          :param clear: If set, any existing context tag data will be removed. 
          """
          self.assert_writeable()
          if self.has_context_tags:
              self._add_attributes(self.global_key + 'context_tags', data, clear)
          else:
              self._add_group(self.global_key + 'context_tags', data)