code: def check_redundancy(text):
      
      err = "dates_times.am_pm.midnight_noon"
      msg = (u"'a.m.' is always morning; 'p.m.' is always night.")
  
      list = [
          "\d{1,2} ?a\.?m\.? in the morning",
          "\d{1,2} ?p\.?m\.? in the evening",
          "\d{1,2} ?p\.?m\.? at night",
          "\d{1,2} ?p\.?m\.? in the afternoon",
      ]
  
      return existence_check(text, list, err, msg, join=True)
docs: Check the text.