public boolean toDeclareInsideBody(@NotNull PsiVariable variable) {
    List<VariableData> knownVars = new ArrayList<>(myInputVariables);
    for (VariableData data : knownVars) {
      if (data.variable.equals(variable)) {
        return false;
      }
    }
    return !myFolding.wasExcluded(variable);
  }
public boolean toDeclareInsideBody(@NotNull PsiVariable variable)