You need to associate the Checkbox with a variable:
Checkbox
is_checked = IntVar()check = Checkbutton(window, text="Add both", onvalue=1, offvalue=0, variable=is_checked)
Then utilise do your check such as:
if is_checked.get(): # do something