def validate_toon(text):

    for i, line in enumerate(text.split("\n"), start=1):

        if not line.strip():
            continue

        fields = line.split(";")

        for field in fields:

            field = field.strip()

            if "=" not in field:
                raise ValueError(
                    f"Line {i} invalid field: {field}"
                )

    return True