Retirement tax questions

The "trick" used doesn't matter. 

Only the taxable amount matters.

You know it is an inherited IRA and so does the state of PA because the 1099-R Code is 4.