void (@NotNull PyTargetExpression node) { var value = node.findAssignedValue(); if (value != null) { var reference = value.getReference(); if (reference != null && reference.isReferenceTo(myElementToFind)) { myDependencyFound = true; return; } } super.visitPyTargetExpression(node); }