code: def _includes_base_class(self, iter_classes, base_class):
          
          return any(
              issubclass(auth_class, base_class) for auth_class in iter_classes,
          )
docs: Returns whether any class in iter_class is a subclass of the given base_class.