If you are on MH diversion, the court could impose a search condition as a term of the diversion.