def _is_numba_core_config_loaded():
    """
    To detect if numba.core.config has been initialized due to circular imports.
    """
    try:
        numba.core.config
    except AttributeError:
        return False
    else:
        return True

    To detect if numba.core.config has been initialized due to circular imports.
    
numba/core/errors.py