def chef_test():
    cmd = "chef-solo --version"
    output = sudo(cmd, warn_only=True, quiet=True)
    if 'chef-solo: command not found' in output:
        return False
    return True
Calls chef-solo on the remote node, returns True if successful,
dataset/ETHPy150Open tobami/littlechef/littlechef/chef.py/chef_test