Every lawyer will need to compulsorily registered in a Bar council. So you can check the bar council website to know whether the lawyer is registered in particular bar council. Alternatively you can also check in Supreme court and High court advocates registry.