def is_runit_installed():
    # Check if the `runsv` binary is in the path.
    return bool(find_executable('runsv'))
Returns True if runit is installed
dataset/ETHPy150Open facebook/sparts/sparts/runit.py/is_runit_installed