code: def import_styles(self, subs, overwrite=True):
          
          if not isinstance(subs, SSAFile):
              raise TypeError("Must supply an SSAFile.")
  
          for name, style in subs.styles.items():
              if name not in self.styles or overwrite:
                  self.styles[name] = style
docs: Merge in styles from other SSAFile.
  
          Arguments:
              subs (SSAFile): Subtitle file imported from.
              overwrite (bool): On name conflict, use style from the other file
                  (default: True).