template active or not