def is_systemd(conn):
    return conn.remote_module.grep(
        'systemd',
        '/proc/1/comm'
    )
Attempt to detect if a remote system is a systemd one or not
dataset/ETHPy150Open ceph/ceph-deploy/ceph_deploy/util/system.py/is_systemd