def has_shareable_memory(a):
    return _get_backing_memmap(a) is not None
Return True if a is backed by some mmap buffer directly or not
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/externals/joblib/pool.py/has_shareable_memory