bool hasOverlap(List<dynamic> a, List<dynamic> b) { final matches = a.where((x) => b.contains(x)); return matches.length == a.length; }