input.go
func IsKeyPressed(key Key) bool {
	return uiDriver().Input().IsKeyPressed(driver.Key(key))
}
func IsKeyPressed(key Key) bool {
	return uiDriver().Input().IsKeyPressed(driver.Key(key))
}
// IsKeyPressed returns a boolean indicating whether key is pressed.
//
// Known issue: On Edge browser, some keys don't work well:
//
//   - KeyKPEnter and KeyKPEqual are recognized as KeyEnter and KeyEqual.
//   - KeyPrintScreen is only treated at keyup event.
//
// IsKeyPressed is concurrent-safe.