The decision of said board of trustees granting or refusing a pension shall be subject to review by the superior court in an action at law, suit in equity, writ of certiorari as provided by general law for such writs or other proper proceeding, upon petition of such city or any other person who may have an interest in the funds provided by this act, as amended.