def METHOD_NAME(require, temp_dir):
    require({'privileged_user': True})
    isolation = {'rootfs': temp_dir, 'automount': {'language_deps': False}}
    client.load('empty', isolation=isolation)
    python_path = f'{temp_dir}/usr'
    assert findmnt().find(python_path) == -1
    assert client.get()['status'] != 200, 'disabled language_deps'
    assert findmnt().find(python_path) == -1
    isolation['automount']['language_deps'] = True
    client.load('empty', isolation=isolation)
    assert findmnt().find(python_path) == -1
    assert client.get()['status'] == 200, 'enabled language_deps'
    assert waitformount(python_path), 'language_deps mount'
    client.conf({"listeners": {}, "applications": {}})
    assert waitforunmount(python_path), 'language_deps unmount'