clustering/common/src/main/java/org/jboss/as/clustering/dmr/ModelNodes.java
public static Optional<Boolean> optionalBoolean(ModelNode value) {
        return value.isDefined() ? Optional.of(value.asBoolean()) : Optional.empty();
    }
public static Optional<Boolean> optionalBoolean(ModelNode value) {
        return value.isDefined() ? Optional.of(value.asBoolean()) : Optional.empty();
    }
public static Optional < Boolean > optionalBoolean ( ModelNode value ) { return value . isDefined ( ) ? Optional . of ( value . asBoolean ( ) ) : Optional . empty ( ) ; }
Returns the optional boolean value of the specified {@link ModelNode}.
@param value the model node
@return an optional value
Returns the optional boolean value of the specified {