EASY. Take a six foot long strip of duct tape. Tape it to the side of a building, and make regular marks on it. Make an Index, or Aim Point in the middle of the length. Focus on the Index or Aim Point.
With the camera on a tripod, shoot several frames, refocusing each time from Out of Focus, to Focused, at an angle, skimming down along the wall. look carefully, and see if the lens needs + or - correction. Here is an example of my 1992-era 135mm f/2 AF Defocus Control lens.
Here are two AF calibration frames from my 135mm f/2 AF Defocus Control Nikkor lens, lens set at the Neutral or 0 defocus point...and the lens is in perfect AF microadjust form.
ALSO...notice how well the silver-colored duct tape shows
longitudial chromatic aberration! Purple fringing to the Front, and Green to the rear of the focus point; very,very typical of many fast primes at wide-open. This stark black-marker on silver tape makes the longitudianl CA very visible, since there is actual "distance" shown. This Lo-CA will be HIDDEN from view if you shoot a flat target from square-on.
Both images were shot at typical portrait ranges, both at f/2.0, at 1/1000 second, tripod mounted.
I did six lenses in about 50 minutes before a big shoot.