"No it didn't, but I think there are other statutes that will be used as a reason excuse to carry out a search. Forewarned is forearmed; best to let them get on with it unless you have something you really shouldn't on your person or in your bag. It'll be a nice waste of time for them."
And not forgetting to insist they put on fresh latex gloves before doing so so as not to potentially leave some virus on your shopping.