Detecting if a template resource created a file

Hi,

Is there a built in way to tell if a template resource created a file as
opposed to updating it?

Thanks,
Yonah