def METHOD_NAME(module):
    # tools must be installed
    if module.get_bin_path('systemctl'):
        # this should show if systemd is the boot init system, if checking init failed to mark as systemd
        # these mirror systemd's own sd_boot test http://www.freedesktop.org/software/systemd/man/sd_booted.html
        for canary in ["/run/systemd/system/", "/dev/.run/systemd/", "/dev/.systemd/"]:
            if os.path.exists(canary):
                return True
    return False