The check when AD is not supported is that the autodiff type is `NoAD`, but it could also be some variant of a finite difference backend.