Python How To Check If A Key Is Pressed