Consider the following premises. If it is late, then Jessica is playing a game. If Jessica plays a game, then it is late. Jessica is playing a game or it is not late. Can we infer the following from them? Jessica is playing a game if and only if it is late.
 From the fact that Jessica is playing a game or it is not late we can infer that if it is late, then Jessica is playing a game. Finally, from the fact that if Jessica plays a game, then it is late, and that if it is late, then Jessica is playing a game we can infer that Jessica is playing a game if and only if it is late. Therefore, the answer is yes.