Lead requires sitting at true 100% SoC for longevity.
If they've been regularly topped up while stored to offset self-discharge, they might still have some lifespan left.
Only a CC load cap test will tell SoH% accurately, but rough tests might be good enough.
In any case they are unlikely to last that long even when new, not being true deep cycling type nor particularly great quality.
Maybe if they test OK as Starter batts (garage type load test), see what you can get for them secondhand?
Then buy proper new deep cycle batteries, not much pricier per Ah than the automotive / big box deals, which are 99.9% fraudulently labeled.
The best value by far is Duracell (actually Deka/East Penn) FLA golf cart batteries, 2x6V, around $200 per 200+AH @12V pair from BatteriesPlus or Sam's Club. NAPA relabels it here:
https://www.napaonline.com/en/p/NBP8144 Deka self-labeled also sold at Lowes.