def METHOD_NAME(value):
    """Validates that value is a known Team Member Function"""
    try:
        TeamMemberFunctions[value.upper()]
    except KeyError:
        raise ValidationError(
            f"Unknown teamMemberFunction: {value} Valid values are "
            f"{TeamMemberFunctions.MEMBER.name}, "
            f"{TeamMemberFunctions.MANAGER.name}"
        )