A police officer is searching a student's bag at school.