public final boolean isObjectNode() {
        return getType() == NodeType.OBJECT;
    }
Checks if this node is an object type.

@return Returns true if this node is an object type.
smithy-model/src/main/java/software/amazon/smithy/model/node/Node.java