bool operator()(Dispatcher& dispatcher, Handler&) const { return dispatcher.running_in_this_thread(); }