code: def is_released(config):
      """Return True if a released version of numpy is detected."""
      from distutils.version import LooseVersion
  
      v = config.get_version("../version.py")
      if v is None:
          raise ValueError("Could not get version")
      pv = LooseVersion(vstring=v).version
      if len(pv) > 3:
          return False
      return True
  
file_path: catboost/contrib/python/numpy/py2/numpy/core/setup_common.py
imports: from __future__ import division, absolute_import, print_function
  import sys
  import warnings
  import copy
  import binascii
  from numpy.distutils.misc_util import mingw32
label_desc: Use image node_id 1 for calling a global function with example usage: is_released(config) and returns: True, False