code: def extend_transformations(self, transformations,
                                 return_alternatives=False):
          
          for t in transformations:
              self.append_transformation(t,
                                         return_alternatives=return_alternatives)
docs: Extends a sequence of transformations to the TransformedStructure.
  
          Args:
              transformations: Sequence of Transformations
              return_alternatives: Whether to return alternative
                  TransformedStructures for one-to-many transformations.
                  return_alternatives can be a number, which stipulates the
                  total number of structures to return.