has_async_listeners() is a better name for this, it spells out that the return value is a boolean.