def has_cmakelists_txt(path):
    cmakelists_txt_path = os.path.join(path, 'CMakeLists.txt')
    return os.path.isfile(cmakelists_txt_path)
Restart service via s6. This will stop/start service
dataset/ETHPy150Open ros-infrastructure/catkin_pkg/src/catkin_pkg/metapackage.py/has_cmakelists_txt--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/s6.py/restart