'Disconnect the volume from the host described by the connector.
If no connector is specified it will remove *all* attachments for
the volume.
Returns True if it was the hosts last connection.'

def _disconnect(self, array, volume, connector, **kwargs):

    vol_name = self._get_vol_name(volume)
    if (connector is None):
        LOG.warning('Removing    ALL    host    connections    for    volume    %s', vol_name)
        connections = array.list_volume_private_connections(vol_name)
        for connection in connections:
            self._disconnect_host(array, connection['host'], vol_name)
        return False
    else:
        host = self._get_host(array, connector)
        if host:
            host_name = host['name']
            return self._disconnect_host(array, host_name, vol_name)
        else:
            LOG.error('Unable    to    disconnect    host    from    volume,    could    not    determine    Purity    host')
            return False
