Maine’s Supreme Court may have the final say over whether victims of the Hannaford supermarket chain’s data breach can sue for damages.

A federal judge who’s considering a class action lawsuit asked the Maine Supreme Judicial Court whether consumers who’ve been reimbursed for losses from stolen credit card numbers have the right to seek damages for the time and effort it took to straighten out their accounts.