Consider the following premises. If it is sunny, then Joseph is playing squash. If it rains, then it is sunny. If Joseph plays squash, then it is raining. Can we infer the following from them? If it is sunny, then Joseph is playing squash.
That is one of the premises. Therefore, the answer is yes.