boolean () { if (!myWasCancelled && myCommand.getCanceller() != null) { try { myCommand.getCanceller().checkCancelled(); } catch (ProcessCanceledException e) { myWasCancelled = true; } } return myWasCancelled; }