@Contract(pure=true) synchronized final boolean isOperationCancelled(final int id){
  return mCancelledOperations.contains(Integer.valueOf(id));
}

@ Contract ( pure = true ) synchronized final boolean isOperationCancelled ( final int id ) { return mCancelledOperations . contains ( Integer . valueOf ( id ) ) ; }
checks if operation launch with given id was cancelled .
