Yes, I'm just suggesting swapping `is_string` with `instanceof EntityListenerResolver` here