Checks whether the
template
of this instance is set.
false if the template is null. Otherwise, it returns true.