Raycasting Spread Sanity Check

How do you do sanity checks on a shotgun with random spread? How do you verify that the bullet direction is random? Because you need to do raycasting on the client and verify the data on the server. There is another post on this topic but I didnt quite understand the solution. Raycasting Spread Question