Sounds like you might want to use a CollisionHandlerQueue, which is documented in the manual.

Or, you can write some code that listens for both the “enter” and “exit” events, and updates an internal state variable according to the last event received, then query that state variable whenever you want to know the answer.