Reuse isMasterAlive function across scripts to check master's life