public boolean isEmpty() {
        return nodeMap.isEmpty();
    }
Returns true if this object has no members.

@return Returns if this object is empty.
smithy-model/src/main/java/software/amazon/smithy/model/node/ObjectNode.java