Add methods hasTags to tag instance.
Temp. Implement TMPL_IF && TMPL_UNLESS.