public boolean tryConsume(String chars){
  if (startsWith(chars)) {
    skipChars(chars.length());
    return true;
  }
  return false;
}

public boolean tryConsume ( String chars ) { if ( startsWith ( chars ) ) { skipChars ( chars . length ( ) ) ; return true ; } return false ; }
try consuming a sequence of characters
