Consider the following premises. It is raining or Mary is not writing a letter. If Thomas plays a game, then it is raining. Thomas is playing a game. Can we infer the following from them? If Thomas plays a game, then it is raining.
That is one of the premises. Therefore, the answer is yes.