def __setitem__(self, name, value):  # pylint: disable=invalid-name
    self._AssertValidKey(name)
    if self._measurements[name].dimensions:
      raise InvalidDimensionsError(
          'Cannot set dimensioned measurement without indices')
    if name is self._values:
      self._values[name] = self._measurements[name].MakeUnsetValue()
    self._values[name].value = value
dataset/ETHPy150Open google/openhtf/openhtf/util/measurements.py/Collection.__setitem__/operator `not in` -> `is`