If clause for any of a condition group ?

Hi everyone. i would like to ask you if there is a nother way to write an IF-clause that presents every condition here? I want that if player presses any of these 12 keys, something will happen

If i use this :
if qKey or wKey or …blah blah… uKey or iKey:

–> pikachu jumps

it gonna be a very very long condition line with 11x “or” … how can i just use a representing name for all these? Thank you in advance.

from bge import logicfrom bge import events
import random
from mathutils import Vector

cont = logic.getCurrentController()
own = cont.owner

keyboard = logic.keyboard

qKey = logic.KX_INPUT_ACTIVE == keyboard.events[events.QKEY]
wKey = logic.KX_INPUT_ACTIVE == keyboard.events[events.WKEY]
eKey = logic.KX_INPUT_ACTIVE == keyboard.events[events.EKEY]
aKey = logic.KX_INPUT_ACTIVE == keyboard.events[events.AKEY] 
sKey = logic.KX_INPUT_ACTIVE == keyboard.events[events.SKEY]   
dKey = logic.KX_INPUT_ACTIVE == keyboard.events[events.DKEY]

uKey = logic.KX_INPUT_ACTIVE == keyboard.events[events.UKEY]
iKey = logic.KX_INPUT_ACTIVE == keyboard.events[events.IKEY]
oKey = logic.KX_INPUT_ACTIVE == keyboard.events[events.OKEY]
jKey = logic.KX_INPUT_ACTIVE == keyboard.events[events.JKEY] 
kKey = logic.KX_INPUT_ACTIVE == keyboard.events[events.JKEY]   
lKey = logic.KX_INPUT_ACTIVE == keyboard.events[events.KKEY]

def demonstrateCheck():
   isOneKeyPressed(events.QKEY, events.WKEY, events.EKEY)

def isOneKeyPressed(*keys):
   for key in keys:
      if logic.KX_INPUT_ACTIVE == keyboard.events[key]:
        return True
   return False

untested … I hope you get the idea

def any_pressed(*keys):
    for keycode in keys:
        if logic.keyboard.events[keycode] == logic.KX_INPUT_ACTIVE:
            return True
    return False

def demonstrate(cont):
    if any_pressed(events.WKEY, events.PKEY, ...):
        print("PRESSED W OR P OR ...")