code: def reset_document(self):
          
          # FIXME: this state does not make sense
          self.doc_version_set = False
          self.doc_comment_set = False
          self.doc_namespace_set = False
          self.doc_data_lics_set = False
          self.doc_name_set = False
          self.doc_spdx_id_set = False
docs: Resets the state to allow building new documents