Bull shit.
Iran has done a thousand times more than Pakistan. Border security on the Iranian side is infinitly better, but without both sides cooperating, it's a moot point sometimes.
Iran spends billions on barriers of all sorts and monitoring. The number of border guards lost on the borders of AFG/Pakistan are also an indication of the constant battles going on in the border areas. More recently Iran has started building a 700 km long "3 ft (91.4 cm) thick and 10 ft (3.05 m) high
concrete wall, fortified with
steel rods." I think if they do complete it, then it'll be a massive waste of money b/c without cooperation on the Pakistani side, nothing will change.