boolean (@NotNull PyTargetExpression target) { if (target.isQualified()) { return false; } final String name = target.getName(); if (name == null || PyUtil.isSpecialName(name)) { return false; } final PyAssignmentStatement assignment = PsiTreeUtil.getParentOfType(target, PyAssignmentStatement.class); if (assignment == null) { return false; } final PyExpression[] targets = assignment.getRawTargets(); return targets.length == 1 && targets[0] == target; }