yep. it returns a key status whether a key is pressed or not.

-b