code: def extract_original_prompts(
      style: PromptStyle, prompt, negative_prompt
  ):
      """
      Takes a style and compares it to the prompt and negative prompt. If the style
      matches, returns True plus the prompt and negative prompt with the style text
      removed. Otherwise, returns False with the original prompt and negative prompt.
      """
      if not style.prompt and not style.negative_prompt:
          return False, prompt, negative_prompt
  
      (
          match_positive,
          extracted_positive,
      ) = unwrap_style_text_from_prompt(style.prompt, prompt)
      if not match_positive:
          return False, prompt, negative_prompt
  
      (
          match_negative,
          extracted_negative,
      ) = unwrap_style_text_from_prompt(
          style.negative_prompt, negative_prompt
      )
      if not match_negative:
          return False, prompt, negative_prompt
  
      return True, extracted_positive, extracted_negative
  
imports: import csv
  import fnmatch
  import os
  import os.path
  import typing
  import shutil
label_desc: Use image node_id 4 for calling a global function with example usage: extract_original_prompts(style, prompt, negative_prompt) and returns: True,  extracted_positive,  extracted_negative, False,  prompt,  negative_prompt, False,  prompt,  negative_prompt, False,  prompt,  negative_prompt