code: def detect_sub_sentences_with_different_sentiments(
      classify_helper, sentence
  ):
      sub_sentences = get_sub_sentences(sentence)
      sentiments = set(classify_helper(sub_sentences))
  
      if len(sentiments) == 1:
          return False
  
      return True
  
file_path: responsible-ai-toolbox/nlp_feature_extractors/nlp_feature_extractors/attribute_extractors.py
imports: import pkg_resources
  from negspacy.negation import Negex
  from raiutils.dataset import fetch_dataset
label_desc: Use image node_id 12 for calling a global function with example usage: detect_sub_sentences_with_different_sentiments(classify_helper, sentence) and returns: True, False