Access static var in html template?

Hi,
im trying to access an static var thats defined lets say in script testStatic.ts.
It works without any issues in another script lets say useStat.ts. But, is it also possible to do an ngIf on that static var in an template? Lets say useStat.html
?