@ensure_tag(['r'])
def is_bold(r):
    w_namespace = get_namespace(r, 'w')
    rpr = r.find('%srPr' % w_namespace)
    if rpr is None:
        return False
    bold = rpr.find('%sb' % w_namespace)
    return style_is_false(bold)
The function will return True if the r tag passed in is considered bold.
dataset/ETHPy150Open PolicyStat/docx2html/docx2html/core.py/is_bold