def METHOD_NAME(self, attribute, value):
    choices = VALUE_DISPLAY_PROCESSORS.keys()
    if value is not None and value not in choices:
        raise ValueError("'process' must be one of {}".format(", ".join(choices)))