def METHOD_NAME(self, name, value):
    descriptor = getattr(self.__class__, name, None)
    if not descriptor:
        raise ValueError("No evaluated property '{}' found".format(name))
    self.__dict__[descriptor.name] = value