public static boolean variableIsReturned(@NotNull PsiVariable variable, @Nullable PsiElement context) {
    return variableIsReturned(variable, context, false);
  }
public static boolean variableIsReturned(@NotNull PsiVariable variable, @Nullable PsiElement context)