Added the 'hasTag' core helper function to the Theme API.