Retirement tax questions

If the distribution code on the 1099-R has a 1 or 2 for an early withdrawal, then the amount is taxable on the PA state return. 

https://www.revenue.pa.gov/FormsandPublications/FormsforIndividuals/PIT/Documents/2018/2018_pa-40in.... at pg 12.