public static boolean isAssignmentToModuleLevelDunderName(@Nullable PsiElement element) {
    if (element instanceof PyAstAssignmentStatement statement && isTopLevel(element)) {
      PyAstExpression[] targets = statement.getTargets();
      if (targets.length == 1) {
        String name = targets[0].getName();
        return name != null && isSpecialName(name);
      }
    }
    return false;
  }
public static boolean isAssignmentToModuleLevelDunderName(@Nullable PsiElement element)