code: public boolean isCurrent(String str) {
  	if (pos + str.length() > lcText.length) return false;
  	for (int i = str.length() - 1; i >= 0; i--) {
  	    if (str.charAt(i) != lcText[pos + i]) return false;
  	}
  	return true;
      }
docs: returns if the current character (internal pointer) and the following are the same as the given
  input