netbox-agent/netbox_agent/misc.py
Solvik Blum 6a9593f33d
wip
2019-08-26 16:40:42 +02:00

5 lines
148 B
Python

from shutil import which
def is_tool(name):
'''Check whether `name` is on PATH and marked as executable.'''
return which(name) is not None