canReference

fun canReference(target: Template): Boolean(source)

Returns true if this template can add a TemplateReference that refers to target without causing recursion within the current context.