Does the docker ingress routing mesh respect service health?

Hello,
My whole question is summed up in the title. Does the docker service routing mesh respects the service health check? I haven’t found any information about this in the documentation.

An example:

You have 2 nodes called A and B each running one service replica. Does the routing mesh reroute requests to Node B if the service replica on Node A becomes unhealthy?