def google_fixed_width_font(style):
 font_family = ''
 if ('font-family' in style):
  font_family = style['font-family']
 if (('Courier New' == font_family) or ('Consolas' == font_family)):
  return True
 return False

def google_fixed_width_font ( style ) : font_family = '' if ( 'font-family' in style ) : font_family = style [ 'font-family' ] if ( ( 'Courier New' == font_family ) or ( 'Consolas' == font_family ) ) : return True return False
check if the css of the current element defines a fixed width font .