Method to check for active node

Method to check for active node.