I am connecting to Geth using Web3j plugin.
web3j = Web3j.build(new HttpService("http://<ip>:<port>")); // defaults to http://localhost:8545/
However, if the Geth node is not started, I need to throw an exception. How can I find if the Geth node is started or no using web3j java code ?