code: def is_well_formatted(self):
          
          # False iff there are at least \n, \r, \t,"  "
          is_bad_formatted = ":" in self.string or \
                             "\\'" in self.string or \
                             "\n" in self.string or \
                             "\r" in self.string or \
                             "\t" in self.string or \
                             "\\n" in self.string or \
                             "\\r" in self.string or \
                             "\\t" in self.string or \
                             "  " in self.string
          return not is_bad_formatted
docs: Checks if string is good formatted
      
          :return: True iff string is good formatted