docx2html/core.py
def is_bold(r):
    """
    The function will return True if the r tag passed in is considered bold.
    """
    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)
def is_bold(r):
    """
    The function will return True if the r tag passed in is considered bold.
    """
    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)
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.
The function will return True if the r tag passed in is considered bold .