protected boolean shouldStop(){
  return isPaused() || isKilled();
}

protected boolean shouldStop ( ) { return isPaused ( ) || isKilled ( ) ; }
returns true if the request is paused or killed , developers should call this method periodically to test whether they should quit the current io operation immediately
