private boolean createOffHeapRegionOnVm(final VM vm, final String name,
      final DataPolicy dataPolicy) {
    return vm.invoke(() -> null != createOffHeapRegion(name, dataPolicy));
  }
Creates an off-heap region on a vm.

@param vm a virtual machine.
@param name a region name.
@param dataPolicy a data policy.

@return true if successful.
geode-core/src/distributedTest/java/org/apache/geode/management/OffHeapManagementDUnitTest.java