Are petit mal seizures hereditary?

Can you answer this question?