To make matters worse, "random" gate checks are almost never very random. If you pay attention you can usually watch the TSA agent simply pick the next person who happens to be standing near them and therefore, it's fairly easy to make sure you are not the one picked.