to be almost finished or decided, so that there is no doubt about the final result
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition