Adding ConnectionResolver->hasConnection()