best way to find out is to just try it!
use little print statements to see what is going on.
My workspace is full of scripts where i try a new features all by itself then integrate it into my game.
You can just create a simple file with :
import panda ...
base.accept('a',presA)
def pressA():
print "pressed a"
run()
for testing.