code: def _check_version(version):
      if version not in [(1, 0), (2, 0), None]:
          msg = (
              "we only support format version (1,0) and (2, 0), not %s"
          )
          raise ValueError(msg % (version,))
  
imports: from __future__ import division, absolute_import, print_function
  import numpy
  import sys
  import io
  import warnings
  from numpy.lib.utils import safe_eval
  from numpy.compat import asbytes, asstr, isfileobj, long, os_fspath
  from numpy.core.numeric import pickle
label_desc: Use image node_id 1 for calling a global function with example usage: _check_version(version) without return types