If Q, 1 is down?

How might i go about detecting if “Q”, “1”, or anything like that is pressed in Key.isDown?

Q and 1 are just examples.