Do I check the 'Non-Massachusetts Sourced' on the capital gan/loss section for MA non-resident return?

So I moved from MA to AZ in 2020, but I had to file MA non-resident return for the past 2 years due to some RSU grants I had received while living in MA. I'm doing the MA non-resident, and I want to make sure I do this right, I did not live in MA in 2022, but parts of the RSUs that vested were granted while in MA, am I complicating this by thinking it is 'MA sourced', or should I still check the box and it is not MA-sourced since I did not reside in MA? 

ma_sourced.png