public synchronized boolean isDone(){
  return (uploadResultFuture != null) && uploadResultFuture.isDone();
}

public synchronized boolean isDone ( ) { return ( uploadResultFuture != null ) && uploadResultFuture . isDone ( ) ; }
identifies if the upload task has completed
