Check if factory matches all of the given classes
a null terminated array of classes to match, only match if all classes are matched
true if device matches.
Check if factory matches all of the given classes