It is for banks located in MA. So, if your bank is online, it would not be considered a MA bank.
"Massachusetts law provides that interest earned on savings deposits or accounts in Massachusetts banks is included in Part B income, taxed at 5%." MA bank Interest