Yes, because Massachusetts will allow a tax credit for this amount you paid. The amount is reported in box 14. Note the screenshots below from the W-2 entry and the Mass state return:
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"