code: def xfail_h5py_unstable_numpy2():
      """Determine if h5py-based tests should be xfail in the unstable numpy 2.x environment."""
      from packaging import version
  
      try:
          import h5py
  
          is_broken_h5py = version.parse(
              h5py.__version__
          ) <= version.parse("3.10.0")
      except ImportError:
          is_broken_h5py = True
  
      import os
  
      is_unstable_ci = os.environ.get("UNSTABLE", "0") in ("1", "true")
      is_np2 = np.__version__.startswith("2.")
      return is_broken_h5py and is_np2 and is_unstable_ci
  
imports: from contextlib import contextmanager
  from datetime import datetime
  from typing import Any
  from unittest import mock
  import dask.array
  import numpy
  from pyresample import create_area_def
  from pyresample.geometry import BaseDefinition, SwathDefinition
  from xarray import DataArray
  from satpy import Scene
  from satpy.composites import GenericCompositor, IncompatibleAreas
  from satpy.dataset import DataID, DataQuery
  from satpy.dataset.dataid import default_id_keys_config, minimal_default_keys_config
  from satpy.modifiers import ModifierBase
  from satpy.readers.file_handlers import BaseFileHandler
label_desc: Use image node_id 17 for calling a global function with example usage: xfail_h5py_unstable_numpy2() and returns: unknown