The land court shall have jurisdiction upon a petition to register land, or if land has been previously registered, upon a supplemental petition by the owner thereof, to hear and determine the question whether or not equitable restrictions arising under contracts, deeds or other instruments limiting or restraining the use or the manner of using land are enforceable in whole or in part.
Mass. Gen. Laws ch. 240, § 16