private boolean contains(char[] argString, boolean argIsWord) {
                Node node = getNode(argString);
                return (node != null && node.isWord() && argIsWord) || (!argIsWord && node != null);
        }