code: def mol_from_text(text, assign_descriptors=True):
      
      cg = mols_from_text(text, False, assign_descriptors)
      return next(cg)
docs: Parse CTAB text and return first one as a Compound object.
  
      Throws:
          StopIteration: if the text does not have molecule
          ValueError: if Unsupported symbol is found