How do I know if my W2 income is from another state when I work from home?

My employer is headquartered in MA, but may have offices in CT. They withheld CT taxes for me, and I live in CT. How do I know if I they are regarded as a MA or CT employer? Does their State ID number reveal the answer?