My code requires that UFW (Uncomplicated firewall) is installed. The program will only be run on a Linux based OS. How would I go about having Python return a value if it finds UFW installed?
Edit: Instead of catching the output, I want to see if the folder (in the default installation path) exists.