def METHOD_NAME(element_html: str, data: pl.QuestionData) -> None:
    element = lxml.html.fragment_fromstring(element_html)
    required_attribs = []
    optional_attribs = [
        "digits",
        "default-tab",
        "show-matlab",
        "show-mathematica",
        "show-python",
        "show-r",
        "show-sympy",
    ]
    pl.check_attribs(element, required_attribs, optional_attribs)