How to get template instance in tabular


I’m using @aldeed’s fantastic tabular package but have hit a bit of a roadblock. I’m trying to show a table of documents that have a Boolean field to specify if the document is “active” or not. When using a template for a cell, tabular passes on the data context but I need to not only access that within my template but also the instance of the template itself. I’m trying to use a toggle for the UI. If this in the template is the data context from the tabular row how do I get the actual template instance?


Which template instance? Does Template.instance() work?