presto-main/src/main/java/io/prestosql/type/DecimalCasts.java/DecimalCasts/longDecimalToBoolean
class DecimalCasts:    @UsedByGeneratedCode
    public static boolean longDecimalToBoolean(Slice decimal, long precision, long scale, BigInteger tenToScale)
    {
        return !decodeUnscaledValue(decimal).equals(ZERO);
    }