It's hit and miss.
HM Customs simply do not employ enough people to do every package. Think of the sheer volume of stuff entering the UK from all over the non EU world. India, China, Singapore, Thailand, HK etc.
There are some hints: if your delivery is sent in by UPS, DHL, etc..then it...