Section 59D. An action commenced in any court of this commonwealth to determine the results of an election, primary or caucus, or to enforce, determine the meaning or application of any of the provisions of chapters fifty to fifty-four A, inclusive, on motion of any party thereto, shall be advanced by the court for speedy trial so that it may be heard and determined with as little delay as possible.