private fun doesStoragePortExistsInVArray( umfsStoragePort: StoragePort, virtualArray: VirtualArray ): Boolean { val virtualArrayPorts: List<URI> = returnAllPortsInVArray(virtualArray.getId()) return if (virtualArrayPorts.contains(umfsStoragePort.getId())) { true } else false }
Checks if the given storage port is part of VArray