Can Nawaz Sharif contest the upcoming general elections?

Can Nawaz Sharif contest the upcoming general elections?