def check_sudo():
    sudo = os.system("sudo -v")
    if not sudo:
        return
    else:
        Colorizer.warning("[!] Your user does not have sudo privileges. Some OWTF components require sudo permissions to install")
        sys.exit()
:param app_resource: optional filename for the application resource
dataset/ETHPy150Open owtf/owtf/install/install.py/check_sudo--crossover with--dataset/ETHPy150Open dcos/dcos-cli/cli/dcoscli/marathon/main.py/_add