func (t *Templates) Has(template string) (interface{}, error) {
	value, ok := t.items.Load(template)
	if !ok || value == nil {
		return nil, nil
	}
	templateError, ok := value.(parsedTemplateErrHolder)
	if !ok {
		return nil, nil
	}
	return templateError.template, templateError.err
}
Has returns true if the cache has a template. The template
is returned along with any errors if found.
package cache
import (
	"sync"
)
type Templates struct {
	items *sync.Map
}
func New() *Templates {
	return &Templates{items: &sync.Map{}}
}
type parsedTemplateErrHolder struct {
	template interface{}
	err      error
}