There is no special function for that, is part of the flow control that comes with the programming language (any).
Just do:
if not jumping:
process your jumping Input
Check the kinematic character entry on the documentation and the demos for more examples.