def is_released(config):
from distutils.version import LooseVersion<EOL>v = config.get_version('<STR_LIT>')<EOL>if v is None:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>pv = LooseVersion(vstring=v).version<EOL>if len(pv) > <NUM_LIT:3>:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Return True if a released version of numpy is detected.