AFAIK unconnected TTL inputs are held safely HIGH.
Well they float high, I wouldn’t say it was safe because they are prone to EMI pickup in this mode. That is it is not a recommended operating configuration.
Ah, this is obviously some strange usage of the word 'safe' that I wasn't previously aware of.
Douglas Adams, Arthur Dent in "The Hitchhikers Guide to the Galaxy"