procd: add procd_running() helper for checking running state