Roth IRA Contribution Eligibility

Two part question:

(1) Will TurboTax determine eligibility for a Roth contribution based on the information I entered?

(2) My AGI consists of passive income (Social Security, dividends and capital gains) and farm income. My farm revenue is about 20,000 but my total expenses are around the same (incl. depreciation etc.). Would I be eligible to contribute based on the farm gross revenues i.e. about 20,000?

 

Thanks for any responses.