def margin_break(keyword):
    """``margin-break`` property validation."""
    return keyword in ('auto', 'keep', 'discard')
``margin-break`` property validation.
weasyprint/css/validation/properties.py