do you mean "if replayMsg != nil"?