You need to test if they are valid, this only checks response time not if they are currently valid and caught up. This is a big problem with Hive Engine nodes they frequently get behind and other issues, but will respond to pings without a problem. So this really only helps if all the nodes are functioning (which is almost never).
RE: Hive Engine net work status API : Get the health of Hive-Engine nodes