Validate variable conformance for Template Toolkit