def kill_my_session():
while True:
if keyboard.is_pressed("Esc + ctrl"):
browser.quit()
os._exit(0)
time.sleep(1)
How to make this if condition works if the Esc+Ctrl keys are pressed together for let's say 3 seconds?