code: def pytest_collection_modifyitems(config, items):
      removed = []
      kept = []
      for item in items:
          m = item.get_closest_marker("uncollect_if")
          if m:
              func = m.kwargs["func"]
              if func(**item.callspec.params):
                  removed.append(item)
                  continue
          kept.append(item)
      if removed:
          config.hook.pytest_deselected(items=removed)
          items[:] = kept
  
imports: import pytest
  import logging
  import shap
  import spacy
  import numpy
  from sklearn.linear_model import LogisticRegression, LinearRegression
  from sklearn.ensemble import RandomForestClassifier, RandomForestRegressor
  from alibi.explainers import ALE
  from alibi.explainers import AnchorTabular
  from alibi.explainers import KernelShap, TreeShap
  from alibi.explainers.tests.utils import predict_fcn, MockTreeExplainer
  from alibi.tests.utils import MockPredictor
  from alibi.utils.lang_model import BertBaseUncased, DistilbertBaseUncased, RobertaBase
  from alibi.utils.download import spacy_model
  import tensorflow
  import alibi_testing
  from alibi_testing.data import get_adult_data, get_iris_data, get_diabetes_data, get_mnist_data, get_movie_sentiment_data
label_desc: Use image node_id 20 for calling a global function with example usage: pytest_collection_modifyitems(config, items) without return types