isting any constable or other person, exercises a search power in relation to a place or vehicle, that constable or other person may, for the purposes of determining whether there is any connection between a person at the place or in or on the vehicle and the object of the search, detain any person???(a) who is at the place or in or on the vehicle at the commencement of the search; or(b) who arriv