Mass. Gen. Laws ch. 209B, § 7
(d) For the purposes of this section, a court may consider the following factors:
(e) If a court shall find that a court of another jurisdiction is or may be a more appropriate forum under the terms of this chapter for the adjudication of the custody proceeding, it may do one or more of the following: