public boolean isNegative() {
        return isNegativeInfinity || (value != null && value.compareTo(BigDecimal.ZERO) < 0);
    }
Check the value is negative, including negative infinity.

<p>Any number >= 0, +Infinity, and NaN return false.

@return Return true if negative.
smithy-model/src/main/java/software/amazon/smithy/model/node/NumberNode.java