It can be that. But why i said it is to us is because.
Many trains passed us, in fact this was the last train which we captured from that point. None of them waved flag.
I have another frame of this pic, train is little behind. But there was no flag in that.
And moment we both brought our camera...
more... down after clicking the pic, he took the flag inside.