code: def _pytest_has_xdist():
      """
      Check if the pytest-xdist plugin is installed, providing parallel tests
      """
      # Check xdist exists without importing, otherwise pytests emits warnings
      from importlib.util import find_spec
  
      return find_spec("xdist") is not None
  
imports: import os
  import re
  import sys
  import numpy
  import inspect
  import sysconfig
label_desc: Use image node_id 1 for calling a global function with example usage: _pytest_has_xdist() and returns: unknown