or if yarn has been dry spun using a surfactant, then there is no beading and it shoots through to the backing
3m scotchcare services have a test kit for oil and water repellence but a good simple test is to wet it with a egg cup full of water and then apply a terry towel and blot for 10 secs and see how much moisture is left behind.
Most treated carpet there will be little or none as the water will not penetrate the fiber and is sucked straight back up.