question: public boolean isPageInRange ( int pageNumber ) { for ( int ind = 0 ; ind < sequenceStarts . size ( ) ; ind ++ ) { if ( sequenceStarts . get ( ind ) <= pageNumber && pageNumber <= sequenceEnds . get ( ind ) ) return true ; } return false ; }
target:  Checks if a given page is present in the range built so far.