Answer
Please see the work below.
Work Step by Step
We know that the cup of coffee will be at thermal equilibrium after sometime because the temperature of the coffee will start decreasing until it becomes equal to the room temperature. This is the condition when the coffee is in thermal equilibrium. Thus, at first the coffee is not in thermal equilibrium, but over time it will be.