As always, it's more complicated than that. But you can definitely test (and confirm) for DNA being a part of it.
But that's one part of biology, confined to planet Earth, and we're not sure it's the whole story.
Yes, it is proven, according to science rules that, (for all biological entities known) DNA (and RNA) conveys hereditary information.
But biological proofs are weaker than physics proofs. "Oh, you proved humans have this thing called blood cells and they're round?" Until you find people with congenital Anemia, and look, their blood cells are not round, because this makes them immune to Malaria. So it's not possible to generalize as much.
In Physics I am confident that the electrons (and chemical elements) in my computer are 100% indistinguishable from the ones in the Sun (albeit in different quantities and temperature of course)
And speaking about physics, light was a wave and this had been tested and verified multiple times. Until it wasn't.