If the contents look suspicious they have every right to do secondary screening (it is not always random). I just went through the airport yesterday and had this happen. They asked if it was a drone in the bag and swabbed it.
Just made it to Australia so my title could be "p3 record flight...