@Override
    public <R> R accept(NodeVisitor<R> visitor) {
        return visitor.numberNode(this);
    }
Returns true if the number is infinite.

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