presto-main/src/main/java/io/prestosql/type/DecimalCasts.java/DecimalCasts/shortDecimalToBoolean
class DecimalCasts:    @UsedByGeneratedCode
    public static boolean shortDecimalToBoolean(long decimal, long precision, long scale, long tenToScale)
    {
        return decimal != 0;
    }