Ask the TSA.
You voluntarily subject yourself to search by buying the airline ticket. People who were stopped and frisked at random gave no such permission.