Retirement tax questions

then is it an earned income though it's not reported in W2 etc. but 1099R? Any reference to an IRS pub page line number would be great.