private boolean isPortConnected(StoragePortsAllocator allocator,StoragePort sPort,boolean checkConnectivity){
  if (checkConnectivity && (allocator.getSwitchName(sPort,_dbClient) == null)) {
    return false;
  }
  return true;
}

private boolean isPortConnected ( StoragePortsAllocator allocator , StoragePort sPort , boolean checkConnectivity ) { if ( checkConnectivity && ( allocator . getSwitchName ( sPort , _dbClient ) == null ) ) { return false ; } return true ; }
checks if storage port is connected depends on network ' s varray . auto_san_zoning .
