code: def test_multiple_group_tags(self):
      # SPARK-44194: Test pinned thread mode with job tags.
      self.check_job_cancellation(
          lambda job_tag: self.sc.addJobTag(job_tag),
          lambda job_tag: self.sc.cancelJobsWithTag(job_tag),
      )
  
file_path: spark/python/pyspark/tests/test_pin_thread.py
imports: import os
  import time
  import threading
  import unittest
  from pyspark import SparkContext, SparkConf, InheritableThread
label_desc: Use image node_id 5 for calling the PinThreadTests obj's underlying member method code with example usage: obj.test_multiple_group_tags() without return types