Consider the following premises. Linda is a mechanic or it is sunny. Robert is cooking. If James were a cashier, then it is not sunny. Linda is not a mechanic. Can we infer the following from them? James is not a cashier.
 From the fact that Linda is a mechanic or it is sunny, and that Linda is not a mechanic we can infer that it is sunny. Finally, from the fact that if James were a cashier, then it is not sunny, and that it is sunny we can infer that James is not a cashier. Therefore, the answer is yes.