No, it is not. Over time, some of the genetic code from the mitochondrial genome migrates to the nuclear cell genome. However, enough mitochondrial genetic code remains independently inherited to make mtDNA highly useful for both population genetics and genetic genealogy where a clear maternal lineage is needed.