public final boolean isScheduledForFlush(){
  return scheduledForFlush.get();
}

public final boolean isScheduledForFlush ( ) { return scheduledForFlush . get ( ) ; }
tells if the session is scheduled for flushed
