private boolean hasRemainingComments(){
  return lastCommentIndex < comments.size() - 1;
}

private boolean hasRemainingComments ( ) { return lastCommentIndex < comments . size ( ) - 1 ; }
returns if there are comments in the input that we have not looked at yet
