

@ensure_tag(['p'])
def _is_top_level_upper_roman(el, meta_data):
    w_namespace = get_namespace(el, 'w')
    ilvl = get_ilvl(meta_data, w_namespace)
    if (ilvl != 0):
        return False
    numId = get_numId(el, w_namespace)
    list_type = meta_data.numbering_dict[numId].get(ilvl, False)
    return (list_type == 'upperRoman')

dataset/ETHPy150Open PolicyStat/docx2html/docx2html/core.py _is_top_level_upper_roman/VarMisuse@33/53 `el`->`meta_data`