

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

dataset/ETHPy150Open PolicyStat/docx2html/docx2html/core.py is_italics/VarMisuse@31/80 `r`->`rpr`