Yes, obviously this is what is required.
> and there’s a pedestrian crossing in front of me
This is wrong. You have to do it every time because the pedestrian is in your blind spot.