You can go to the websites of lawyers' associations of all provinces, autonomous regions and municipalities directly under the Central Government for enquiries. For example, if you look up lawyers in Beijing, you can search for "capital lawyers" on Baidu. On the homepage of this website, you can search for lawyers and enter their names to find them. If you can't find them, it means that this person is not a practicing lawyer. Some provinces and autonomous regions' lawyers' associations may not have websites. You can check the websites of the judicial departments of the provinces (autonomous regions) (called Pufa.com, such as Guangdong Law Popularization Network). Or go to the local judicial department or bar association in person. Such people only have the qualifications of lawyers or judges, and they are not lawyers without a lawyer's practice license. You can have him show you his lawyer's license.
Let him show his lawyer's practice certificate (instead of lawyer's qualification certificate or legal professional qualification certificate or legal worker's certificate).
A person without a lawyer's license is not a lawyer.