code: def runif_extra_has(test_str):
      """Decorator checks to see if NIPY_EXTRA_TESTS env var contains test_str"""
      return unittest.skipUnless(
          test_str in EXTRA_SET, f"Skip {test_str} tests."
      )
  
imports: from __future__ import annotations
  import os
  import re
  import sys
  import typing
  import unittest
  import warnings
  from contextlib import nullcontext
  from itertools import zip_longest
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from .helpers import assert_data_similar, bytesio_filemap, bytesio_round_trip
  from .np_features import memmap_after_ufunc
label_desc: Use image node_id 7 for calling a global function with example usage: runif_extra_has(test_str) and returns: unittest