changing the way we detect if we can listen to events, or not