Skip to main content
2 of 2
added 31 characters in body
Doorknob
  • 71.8k
  • 20
  • 143
  • 385

Mathematica, 25 24 bytes

MatchQ[{{_,2}..}]@*Tally

Try it online!

The Tally function returns a list of the form {{element, count}, ...}, which is then matched against a pattern that checks whether all count are 2.

Doorknob
  • 71.8k
  • 20
  • 143
  • 385