def _package_path(name):
    loader = pkgutil.get_loader(name)
    if loader is None or name == b'__main__':
        return None

    if hasattr(loader, 'get_filename'):
        filepath = loader.get_filename(name)
    else:
        # Fall back to importing the specified module.
        __import__(name)
        filepath = sys.modules[name].__file__

    return os.path.dirname(os.path.abspath(filepath))
Checks if node is full
dataset/ETHPy150Open beetbox/beets/beets/util/confit.py/_package_path--crossover with--dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry/condensation/node.py/Node.is_full