Every now and then we all have problems keeping our focus during a long class or meeting, and we all occasionally talk while someone else was already talking. Luckily, not everyone who does that has ADHD.
If you would like to get a better idea if ADHD would apply to you, you could try an online self-test like this one, for instance.
But remember! A test like this is not an official diagnosis, only a first impression.