Retirement tax questions

So what if you are already retired and collecting from both a defined benefit plan and a 401k?  Does that mean you are "covered" by an employer plan?  No W2 since not working.  But, there is earned income from doing research so that could be contributed to a Roth IRA, no matter age, right?