code: def is_noun_phrase(nlp_doc):
      return len(list(nlp_doc.noun_chunks)) == 1
  
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 7 for calling a global function with example usage: is_noun_phrase(nlp_doc) and returns: unknown