Add isConnected method for validating configuration