Absolutely...and there was also the connection to his real life as his anchestors had been Afghan who had settled in Peshawar even before the politically made Pakistan existed.
Jim replying to Dr. Sahani that he doesn't believe anymore in the notions of "country" and "boundaries" (they would only be tools of power and control - as which they - indeed - are (mis-)used far too often) he shows that he not only doesn't feel any patriotic attatchment anymore but also doesn't feel an emotional belongingness. That is the absolut opposite of Pathaan (like white king and black king in a chess game) who feels belongingness to Mother India and his "Afghan family" (like he calls her). What made them opposite in feeling was the fact that Jim felt abandonned by his "mother India" and Pathaan felt cared for and loves India for that (it's an unconditional love, but not a blind love)..
Pathaan says to Colonel Luthra why they didn't pay the ransom and hints that they would have payed if it had been about a minister...and THAT is a crucial remark considering not only what often happens in politics but also the differentiating handling of people in India (which nevertheless doesn't influence Pathaans (SRK's) love for his country).
This movie clearly favours the humanitarian aspect which also has a connection to rl SRK as he has stated - more than once - that each act of terrorism is a crime against humanity (which irked many people).
57