code: def check_negation(spacy_nlp, text):
      norm_text = normalize_reply(text)
      doc = spacy_nlp(norm_text)
      for token in doc:
          if token.dep_ == "neg":
              return True
  
      return False
  
file_path: ParlAI/projects/safety_bench/unit_tests/response_to_offensive_language_test.py
imports: from parlai.core.opt import Opt
  import parlai.core.build_data
  from parlai.utils import logging
  from parlai.utils.strings import normalize_reply
  from parlai.utils.safety import OffensiveLanguageClassifier
  from projects.safety_bench.utils.safety_testing import collect_model_responses, write_log, write_report, DEBUG_NUM
  from typing import Dict, List
  import os
  import spacy
  from nltk.sentiment.vader import SentimentIntensityAnalyzer
label_desc: Use image node_id 1 for calling a global function with example usage: check_negation(spacy_nlp, text) and returns: False, True