This is correct, so it's not likely inherited (though we don't completely understand everything about inheritance such as the possible inheritance of miRNA). If you think of DNA as code, genes as specific programs, you can think of expression as how often those programs are run. "Running" in this sense means that the gene is copied to messenger RNA and send to the ribosome to synthesize proteins. Those proteins start as long chains like the dna/rna but immediately fold into complex shapes with unique properties that do various interesting things in the cell.