Yeah, unlike Sunni muslims, Shia muslims (who are the majority in Iran) consider their Imams (religious clerics / leaders) to be an important / integral part of their religious system. Their Ayatollah can indeed be considered the equivalent to a Christian Pope. Of course, the Pope today, while having some political influence, is virtually a ceremonious role with no real political power beyond the Vatican (if that too), while the Ayatollah still retains a lot of political power in Iran (and even in other parts of middle-east).