Locals.Boolean = (RunState.Sequence.Main["Message Popup"].Result.Response == "MyExpectedTrueValue")
Replace MyExpectedTrueValue with the string you want the bool to be true for. You might want to transform the Result.Response value with some of the string functions if you need to ignore case, for example.