code: def is_systemd_service_enabled(conn, service='ceph'):
      
      _, _, returncode = remoto.process.check(
          conn,
          [
              'systemctl',
              'is-enabled',
              '--quiet',
              '{service}'.format(service=service),
          ]
      )
      return returncode == 0
docs: Detects if a systemd service is enabled or not.