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