modified checking if a node is ready