won't be hard to tell.
Look for repainted fasteners in and around the engine(s).
Look for repainted outdrive or transom assembly (sometimes a new outdrive is a tipoff).
An improperly maintained salt boat will have rotted exhaust manifolds and can be even worse. A closed cooling boat will still have saltwater exhausts.
Salt boats CAN be just fine if religiously tended to.