Consider the following premises. Robert is not excited. If Mary were a bartender, then Charles is cooking. If Charles cooks, then Mary is a bartender. Charles is cooking if and only if Robert is excited. Can we infer the following from them? Robert is not excited.
That is one of the premises. Therefore, the answer is yes.