nodes: 0, module; 1, function_definition; 2, function_name:_sortValue_isItalic; 3, parameters; 4, block; 5, identifier:font; 6, expression_statement; 7, expression_statement; 8, expression_statement; 9, if_statement; 10, if_statement; 11, return_statement; 12, comment:"""
      Returns 0 if the font is italic.
      Returns 1 if the font is not italic.
      """; 13, assignment; 14, assignment; 15, boolean_operator; 16, block; 17, comparison_operator:info.italicAngle not in (None, 0); 18, block; 19, integer:1; 20, identifier:info; 21, attribute; 22, identifier:styleMapStyleName; 23, attribute; 24, comparison_operator:styleMapStyleName is not None; 25, comparison_operator:"italic" in styleMapStyleName; 26, return_statement; 27, attribute; 28, tuple; 29, return_statement; 30, identifier:font; 31, identifier:info; 32, identifier:info; 33, identifier:styleMapStyleName; 34, identifier:styleMapStyleName; 35, None; 36, string:"italic"; 37, identifier:styleMapStyleName; 38, integer:0; 39, identifier:info; 40, identifier:italicAngle; 41, None; 42, integer:0; 43, integer:0
code: def _sortValue_isItalic(font):
      """
      Returns 0 if the font is italic.
      Returns 1 if the font is not italic.
      """
      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