sewed up
sewed up {adj. phr.}, {informal}
Won or arranged as you wish; decided.
They thought they had the game sewed up, but the other team won it with a touchdown in the last quarter.
Dick thought he had the job sewed up, but another boy got it.
Compare: IN THE BAG.
Categories:
Source: A Dictionary of American Idioms