def METHOD_NAME(self, test, err):
    err_cls, a, b = err
    if not isclass(err_cls):
        return
    classes = [e[0] for e in self.errorClasses]
    if [c for c in classes if issubclass(err_cls, c)]:
        return True