"Peter and I went shopping yesterday, but I wasnt sure if he was enjoying himself."
Rewrite the following sentence so that it is grammatically correct: \n"Peter and I went shopping yesterday, but I wasn\t sure if he is was enjoying himself"?