When NaNO3 is heated in a closed vessel, oxygen is liberated and NaNO2 is left behind, at equilibrium.
2NaNO3→2NaNO2+O2
So the given statement is true.