Added a hasMasterConnection() method to LoadBalancer