I think just the assert is needed to say 'tf can't possibly be null', if it crashes later we get an early warning.
(not much earlier though).  Don;t bother with the extra conditional.