BBB Sensor Input over Python

Hello

Is it possible to have an Eventhandler in Python for Sensor GPIO Inputs?

Looks like it’s there :
example : https://github.com/alexanderhiam/PyBBIO/blob/master/examples/EventIO_test.py

src :https://github.com/alexanderhiam/PyBBIO/blob/master/libraries/EventIO/eventio.py