It would be a complete and total waste of money and time for the Iranians to buy a few J10C now. It wouldn't stop the Israelis from attacking, they'd be shot down with little trouble.
It took the PAF to develop a sophisticated multi domain doctrine for air warfare to defeat the IAF, comprising multiple AWACS, and indigenous data link that ensured all air assets are linked, a sophisticated C4I network, not to mention decades of very intensive training, including multi national exercises like Red Flag. The Iranians can't simply just buy a few J10 and think they can stop the Israelis.