have it knocked
To know that something will be successful. Well, I have it knocked if my biggest rival isn't going to be running in the race.
have it knocked
Slang To be certain of success: "He knew he had it knocked after he saw a rough cut of Chinatown" (Time).