Tag history enabled expression

Is there a way to check if a tag has history enabled from an expression?
e.g if( tagPath.historyenabled == 1, …)

The HistoryEnabled property works in an expression.

{myTag.HistoryEnabled}
1 Like