Consider the following premises. Richard is driving a car if and only if Mary is listening to a song. Thomas is a police officer if and only if Richard is driving a car. Thomas is a police officer or Mary is listening to a song. Can we infer the following from them? Thomas is a police officer if and only if Richard is driving a car.
That is one of the premises. Therefore, the answer is yes.