private boolean isClosed(){
  if (!verifyReader) {
    return false;
  }
  try {
    br.mark(1);
    int nextByte=br.read();
    br.reset();
    return nextByte == -1;
  }
 catch (  IOException e) {
    return true;
  }
}

private boolean isClosed ( ) { if ( ! verifyReader ) { return false ; } try { br . mark ( 1 ) ; int nextByte = br . read ( ) ; br . reset ( ) ; return nextByte == - 1 ; } catch ( IOException e ) { return true ; } }
checks to see if the file is closed .
