Is epilepsy hereditary?

i was born with a disease called tuberus sclerosis which causes epilepsy for me among other things. however i was wondering anyone knows if it (epilepsy) is heriditary that would be awesome. i have had it since day one, where it was active for the first three years of my life and went dorment for years until it became active again at 15. it is now controlled with meds and i live a normal life. i was just wondering if anyone can help…