Hypothetical Q here but if you buy a set of used forks say or a damaged bike how can you be assured your forks are straight other than the obv damage signs etc? X
Clamp the leg in a vice with nylon half shells to protect, put a dti or similar on the lower and rotate. Do this at various point along. There should be minimal deflection on the clock.