in lib/ec2macossystemmonitor/relayd.go [23:25]
func CheckSocketExists(socketPath string) (exists bool) { return fileExists(socketPath) }