Is there any case where the result would not have a `success` attribute? If not, I'd say it's a bug in the minimizer so that this check is not needed.