NXP-15138: Update the API to handle the check of templates with a complete path or just the name of the template.
NXP-15138: Add unit test.