I think this can be just ```if template_id:``` since empty string is falsey.