private boolean isRecursive(@NotNull ProcessingContext context) {
    Set<PyClassType> types = context.get(CTX_VISITED);
    if (types == null) {
      types = new HashSet<>();
      context.put(CTX_VISITED, types);
    }
    return !types.add(this);
  }
private boolean isRecursive(@NotNull ProcessingContext context)