default boolean isInfinity() {
        double value = asDouble();
        return value == Double.NEGATIVE_INFINITY || value == Double.POSITIVE_INFINITY;
    }
Checks if the value is either positive or negative infinity as defined in
{@link Double}.

@return true if it's infinity; false otherwise
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseValue.java