template_exists()checks whether the specified template existsDescriptionbooltemplate_existsstringtemplate
It can accept either a path to the template on the filesystem or a
resource string specifying the template.
See also
display(),
fetch(),
{include}
and
{insert}