boolean (@NotNull String superClassQName, @Nullable TypeEvalContext context) { if (superClassQName.equals(getQualifiedName())) { return true; } for (PyClassLikeType type : getAncestorTypes(notNullizeContext(context))) { if (type != null && superClassQName.equals(type.getClassQName())) { return true; } } return false; }