code: def _check_version(
      min_version_info: Union[
          Tuple[int], Tuple[int, int], Tuple[int, int, int]
      ],
      msg: str = "Feature",
  ):
      """Check for libzmq
  
      raises ZMQVersionError if current zmq version is not at least min_version
  
      min_version_info is a tuple of integers, and will be compared against zmq.zmq_version_info().
      """
      global _zmq_version_info
      if _zmq_version_info is None:
          from zmq import zmq_version_info
  
          _zmq_version_info = zmq_version_info()
      if _zmq_version_info < min_version_info:
          min_version = ".".join(str(v) for v in min_version_info)
          raise ZMQVersionError(min_version, msg)
  
imports: from errno import EINTR
  from typing import Optional, Tuple, Union
label_desc: Use image node_id 2 for calling a global function with example usage: _check_version(min_version_info, msg) without return types