boolean (@NotNull PsiElement element) { final PyTargetExpression target = as(element, PyTargetExpression.class); if (target == null || target.isQualified()) { return false; } final PyAssignmentStatement assignment = as(target.getParent(), PyAssignmentStatement.class); return assignment != null && assignment.getTargets().length == 1; }