code: private boolean containsSeq(String seq) {
          int state = 0;
          for (int i = 0; i < seq.length(); i++) {
              state = next(state, seq.charAt(i));
  
              if (state == -1)
                  return false;
          }
  
          return d_finalStates.get(state);
      }
docs: Check whether the dictionary contains the given sequence.
  
  @param seq
  @return