check that `success` exists