The juvenile court’s decision to impose an electronic search condition was not an abuse of discretion. However, the Court of Appeal found that the condition must be narrowed to allow only the search of any medium of communication reasonably likely to reveal whether the minor was associating with prohibited persons or for any other defined purpose justified by the circumstances and consistent with the proportionality principle outlined in In re Ricardo P. (2019) 7 Cal.5th 1113, 1122.