It shall be a defense for a franchisor, to any action brought under this act by a franchisee, if it be shown that said franchisee has failed to substantially comply with requirements imposed by the franchise and other agreements ancillary or collateral thereto.
N.J.S. § 56:10-9