If someone is taking anti-seizure medication to control their seizures, they are considered to have active epilepsy.

The International League Against Epilepsy considers epilepsy to be resolved for individuals with an age-dependent epilepsy syndrome who are past the applicable age or if the individual has been seizure-free for 10 years and off medication for at least the last five years.

Do I still have epilepsy? International League against epilepsy