A town may at any town meeting appropriate money for the exercise of any of its corporate powers; provided, however, that a town shall not appropriate or expend money for any purpose, on any terms, or under any conditions inconsistent with any applicable provision of any general or special law.
Mass. Gen. Laws ch. 40, § 5