A long time ago a pal of mine was screened for epilepsy by the UK CAA, they used a series of tests involving strobe lights and different patterns whilst connected to an EEG. He was fine - maybe they don't do that these days, but at least it was conclusive.