code: def _check_spec_attributes(spec: ProblemSpec):
      assert "names" in spec, "Names not defined"
      assert "bounds" in spec, "Bounds not defined"
      assert len(spec["bounds"]) == len(
          spec["names"]
      ), f"""Number of bounds do not match number of names
          Number of names:
          {len(spec['names'])} | {spec['names']}
          ----------------
          Number of bounds: {len(spec['bounds'])}
          """
  
imports: import warnings
  import importlib
  from types import MethodType
  from functools import partial, wraps
  from multiprocess import Pool, cpu_count
  import numpy
  import SALib.sample
  import SALib.analyze
  from SALib.util import avail_approaches
  from SALib.util.results import ResultDict
label_desc: Use image node_id 1 for calling a global function with example usage: _check_spec_attributes(spec) without return types