public static boolean isZoningRequired(DbClient dbClient,URI varrayUri){
  if (varrayUri != null) {
    VirtualArray nh=dbClient.queryObject(VirtualArray.class,varrayUri);
    if (nh != null) {
      return isZoningRequired(dbClient,nh);
    }
  }
  return false;
}

public static boolean isZoningRequired ( DbClient dbClient , URI varrayUri ) { if ( varrayUri != null ) { VirtualArray nh = dbClient . queryObject ( VirtualArray . class , varrayUri ) ; if ( nh != null ) { return isZoningRequired ( dbClient , nh ) ; } } return false ; }
looks at the varray to see if zoning is disabled , and looks to make sure that there is at least one active networksystem registered .
