public boolean isStoppedOrTerminateRequested() {
   return myParsingThread == null || myParsingThread.isTerminateInvoked() || isStopped();
 }