def nopackages(pkg_list, orphan=True):
    pkg_list = [pkg for pkg in pkg_list if is_installed(pkg)]
    if pkg_list:
        uninstall(pkg_list, orphan)
Require several SmartOS packages to be uninstalled.
dataset/ETHPy150Open ronnix/fabtools/fabtools/require/pkg.py/nopackages