code: def in_sequence( word, ref_set, ref_reason, freq_threshold = 2 ):
          
          chars = get_letters(word)
          flag = True #no error assumed
          reason = None #no reason
          freq_count = 0
          for char in chars:
              if char in ref_set:
                  freq_count += 1
                  if freq_count >= freq_threshold:
                      flag = False
                      break
                  continue
              freq_count = 0 # continue loop
          if not flag:
              reason = ref_reason
          return flag,reason
docs: ignore ctx information right now. If repetition/match length >= @freq_threshold then we flag-it