If a member of An Garda Síochána has formed a reasonable suspicion that a person may be in possession of drugs they can stop and search a person for drugs. They have to outline to the person that they have suspicions and are going to search you under Sec 23 of the Misuse of Drugs Act 1977.