bool hasEditVariable(Variable variable)

Returns whether the given edit Variable is present in the solver.

Source

bool hasEditVariable(Variable variable) {
  return _edits.containsKey(variable);
}