boolean (@NotNull Collection<? extends PsiVariable> variables, @Nullable PsiElement context) { if (context == null) { return false; } final VariableAssignedVisitor visitor = new VariableAssignedVisitor(variables, true); context.accept(visitor); return visitor.isAssigned(); }