docs: def to_dict(self, remove_nones=False):
          """
          Creates a dictionary representation of the tag.
  
          :param remove_nones: Whether ``None`` values should be filtered out of the dictionary.  Defaults to ``False``.
          :return: A dictionary representation of the tag.
          """
  
          if remove_nones:
              d = super().to_dict(remove_nones=True)
          else:
              d = {
                  'name': self.name,
                  'id': self.id,
                  'enclaveId': self.enclave_id
              }
  
          return d