Method to check for active node