code: def pytest_ignore_collect(path):
      major_version = SPARK_VERSION.split(".")[0]
      if int(major_version) < 3 and any(
          [str(path).endswith(p) for p in SPARK3_PLUS_FILES]
      ):
          return True
  
file_path: glow/conftest.py
imports: import numpy
  from pyspark.sql import SparkSession
  import pytest
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: pytest_ignore_collect(path) and returns: True