private boolean isAcceptingNewJobs ( ) { if ( this . requestedToStop ) { return false ; } else if ( new File ( this . workingDirectories . getWorking ( ) , "stop" ) . exists ( ) ) { LOGGER . info ( "The print has been requested to stop" ) ; this . requestedToStop = true ; notifyIfStopped ( ) ; return false ; } else { return true ; } }
Check if the print has not been asked to stop taking new jobs .