question: private static boolean doesNewVpoolContainsVolumePool ( URI volumePool , VirtualPool vPool ) { boolean vPoolHasVolumePool = false ; if ( volumePool != null && vPool != null ) { StringSet poolsToCheck = vPool . getUseMatchedPools ( ) ? vPool . getMatchedStoragePools ( ) : vPool . getAssignedStoragePools ( ) ; if ( poolsToCheck != null && poolsToCheck . contains ( volumePool . toString ( ) ) ) { vPoolHasVolumePool = true ; } } return vPoolHasVolumePool ; }
target:  Returns true if the vPool contains the given storage pool in its valid pools list.