public static ModelNode getResults(ModelNode operationResult) {
        if (!operationResult.hasDefined(RESULT)) {
            return new ModelNode();
        }

        return operationResult.get(RESULT);
    }
public static ModelNode getResults ( ModelNode operationResult ) { if ( ! operationResult . hasDefined ( RESULT ) ) { return new ModelNode ( ) ; } return operationResult . get ( RESULT ) ; }
If the given node has results, those results are returned in a ModelNode.
Otherwise, an empty node is returned.

@param operationResult the node to examine
@return the results as a ModelNode