def has_style(node):    
    """Tells us if node element has defined styling.

    :Args:
      - node (:class:`ooxml.doc.Element`): Element

    :Returns:
      True or False

    """

    elements = ['b', 'i', 'u', 'strike', 'color', 'jc', 'sz', 'ind', 'superscript', 'subscript', 'small_caps']

    return any([True for elem in elements if elem in node.rpr])
def has_style ( node ) : elements = [ 'b' , 'i' , 'u' , 'strike' , 'color' , 'jc' , 'sz' , 'ind' , 'superscript' , 'subscript' , 'small_caps' ] return any ( [ True for elem in elements if elem in node . rpr ] )
Tells us if node element has defined styling.

    :Args:
      - node (:class:`ooxml.doc.Element`): Element

    :Returns:
      True or False