It's nuanced, and explained pretty well by this HN commenter[1] in a past article. Generally ADHD that is currently being treated is disqualifying, and reliance on medication is definitely disqualifying. Past diagnoses are a toss-up and you're gambling on the system / your AME.
1: https://news.ycombinator.com/item?id=25996306