public static boolean isMetroPointVolume(DbClient dbClient,Volume volume){
  if (volume != null) {
    VirtualPool vpool=dbClient.queryObject(VirtualPool.class,volume.getVirtualPool());
    if (vpool != null && VirtualPool.vPoolSpecifiesMetroPoint(vpool)) {
      _log.info(String.format("Volume's vpool [%s](%s) specifies Metropoint",vpool.getLabel(),vpool.getId()));
      return true;
    }
  }
  return false;
}

public static boolean isMetroPointVolume ( DbClient dbClient , Volume volume ) { if ( volume != null ) { VirtualPool vpool = dbClient . queryObject ( VirtualPool . class , volume . getVirtualPool ( ) ) ; if ( vpool != null && VirtualPool . vPoolSpecifiesMetroPoint ( vpool ) ) { _log . info ( String . format ( "Volume's vpool [%s](%s) specifies Metropoint" , vpool . getLabel ( ) , vpool . getId ( ) ) ) ; return true ; } } return false ; }
determines if a volume is part of a metropoint configuration .
