Not exactly. The actual Massachusetts rule is this:
If you're a nonresident with an annual Massachusetts gross income of
more than either $8,000 or the prorated personal exemption, whichever is
less, you must file a Massachusetts tax return.
ALL your income is taxable by CT, including your earnings from MA. If you have to file an MA return, you'll be able to take a credit on your CT return for any taxes paid to MA.