function b = isFinished(int) % Returns 1 if the optimization was finished, else 0 b = int.finished;