legacy/jacorb/src/main/java/org/jboss/as/jacorb/JacORBSubsystemParser.java
private boolean isWritable(ModelNode node, List<SimpleAttributeDefinition> attributeDefinitions) {
        boolean isWritable = false;
        for (SimpleAttributeDefinition attributeDefinition : attributeDefinitions) {
            if (attributeDefinition.isMarshallable(node)) {
                isWritable = true;
                break;
            }
        }
        return isWritable;
    }
private boolean isWritable(ModelNode node, List<SimpleAttributeDefinition> attributeDefinitions) {
        boolean isWritable = false;
        for (SimpleAttributeDefinition attributeDefinition : attributeDefinitions) {
            if (attributeDefinition.isMarshallable(node)) {
                isWritable = true;
                break;
            }
        }
        return isWritable;
    }
<p>
Iterates through the specified attribute definitions and checks if any of the attributes can be written to XML
by verifying if the attribute has been defined in the supplied node.
</p>

@param node                 the {@code ModelNode} that contains the configuration attributes.
@param attributeDefinitions the {@code AttributeDefinition}s of the attributes that might be writable.
@return {@code true} if the node has defined any of the attributes; {@code false} otherwise.