Why do you think it wont be?
Well, one obvious question is if the simulated brain experiences pain, or more generally can it suffer? And if so, how would we tell.
What does "suffering" mean? Define your boolean function, apply it to the state of the program, and you'll know if the program is currently suffering.