Consider the following premises. For all x, x is an electrician or x is not a police officer. For all x, x is not an electrician. For all x, if x were a mechanic, then x is a police officer. Can we infer the following from them? For all x, if x were a mechanic, then x is a police officer.
That is one of the premises. Therefore, the answer is yes.