boolean (PsiExpression expression) { final PsiElement parent = expression.getParent(); if (!(parent instanceof PsiVariable variable)) { return false; } final PsiExpression initializer = variable.getInitializer(); return initializer == expression; }