Food with alcohol as an ingredient

So if after heating the final content of alcohol is 0.5% then it’s okay versus
final alcohol content of 0.5% which has not been heated.