code: def check_trademark_symbol(text):
      
      err = "typography.symbols.trademark"
      msg = u"(TM) is a goofy alphabetic approximation, use the symbol ™."
      regex = "\(TM\)"
  
      return existence_check(
          text, [regex], err, msg, max_errors=3, require_padding=False)
docs: Use the trademark symbol instead of (TM).