(1) The director-general may, at any time, direct a youth detention officer to conduct a scanning search, frisk search or ordinary search of a young detainee if the director-general believes on reasonable grounds that the search is prudent to ensure security or good order at a detention place.
(2) Also, a youth detention officer may conduct a scanning search, frisk search or ordinary search of a young detainee if the officer suspects on reasonable grounds that the young detainee is carrying—
(a) a prohibited thing; or
(b) something that may be used by the young detainee in a way that may involve—
(i) an offence; or
(ii) a risk to the personal safety of the young detainee or someone else; or
(iii) a risk to security or good order at a detention place.