reliable way of checking whether Weld already runs or not

reliable way of checking whether Weld already runs or not