

@ensure_tag(['r'])
def is_underlined(r):
    '\n    The function will return True if the r tag passed in is considered\n    underlined.\n    '
    w_namespace = get_namespace(r, 'w')
    rpr = r.find(('%srPr' % w_namespace))
    if (rpr is None):
        return False
    underline = rpr.find(('%su' % w_namespace))
    return style_is_false(underline)

dataset/ETHPy150Open PolicyStat/docx2html/docx2html/core.py is_underlined/original