Not last 5 years. That was mostly under an actual dictator Perviz Musharraff. That period was more democratic than after him which removed all power for local governments and probably more censorship/bans by PEMRA, our media regulatory agency.
I think people are too quick to judge other countries through their lens.
This is as true for some of us Pakistanis judging to the west through our cultural lens.