presto-spi/src/main/java/io/prestosql/spi/type/SqlTimestamp.java/SqlTimestamp/isLegacyTimestamp
class SqlTimestamp:    public boolean isLegacyTimestamp()
    {
        return sessionTimeZoneKey.isPresent();
    }