boolean (@Nullable PsiElement element, @NotNull VariableDescriptor descriptor, @NotNull GrControlFlowOwner flowOwner) { GrVariable variable = resolveToLocalVariable(element, descriptor.getName()); if (variable == null) return false; return !PsiImplUtilKt.isDeclaredIn(variable, flowOwner); }