code: def _add_sequence(self, sequence):
          
          if sequence.identity not in self._sequences.keys():
              self._sequences[sequence.identity] = sequence
          else:
              raise ValueError("{} has already been defined".format(sequence.identity))
docs: Add a Sequence to the document