code: def check(text):
      
      err = "cursing.filth"
      msg = u"""Nobody ever tells you this as a kid, but you're supposed to avoid
          this word."""
  
      list = [
          "shit",
          "piss",
          "fuck",
          "cunt",
          "cocksucker",
          "motherfucker",
          "tits",
          "fart",
          "turd",
          "twat",
      ]
  
      return existence_check(text, list, err, msg)
docs: Check the text.