code: def _sortValue_isItalic(font):
      
      info = font.info
      styleMapStyleName = info.styleMapStyleName
      if styleMapStyleName is not None and "italic" in styleMapStyleName:
          return 0
      if info.italicAngle not in (None, 0):
          return 0
      return 1
docs: Returns 0 if the font is italic.
      Returns 1 if the font is not italic.