boolean (@NotNull final PyClass child, @NotNull final FQNamesProvider parentName, @NotNull final TypeEvalContext context) { for (final String nameToCheck : parentName.getNames()) { if (child.isSubclass(nameToCheck, context)) { return true; } } return false; }