def METHOD_NAME(cls, value):
    """Validates the enum"""
    if value is None:
        return value
    for i in value:
        if i not in ('success', 'failure', 'unclassified'):
            raise ValueError("each list item must be one of ('success', 'failure', 'unclassified')")
    return value