I’ve forgotten what they call the gun power test but that test will tell if he has fired a gun recently.
Generic name is GSR or gunshot residue. Chemical, binary, atomic absorption- several types.
TV shows also refer to GPR or gun powder residue.