When making a stop to pick up students, a driver should ensure all surrounding traffic has stopped before:

When stopping to pick up students, a school bus driver should make sure all nearby traffic has stopped before they open the door and signal for the waiting students to approach the bus.
DMV Writen Test