Does Paper mc Block out xray hacks?

My friend has well, been using xray hacks, and i have switched our smp from normal vanilla minecraft to paper. So i would like to know if xrays hacks and hacked clients are blocked.

Hey! In paper.yml search for anti-X-ray turn it on and set the setting to 2