Are hereditary genetic mutations entirely random?

Also are they comparable to a lottery ticket?
4 answers 4