Each week of 2017 we present an English idiom.
“to be (or have something) in the bag”: something appears to be finished or achieved
Example 1: We met with the client last night, and the deal seems to be in the bag.
Example 2: A meeting with the CEO meant that the job offer was in the bag.