'Given a ``Dataset``, returns a ``MountedDataset`` populated with
the information from the dataset and the mountpoint.
:param dataset: ``Dataset`` containing the dataset_id of an
existent dataset.
:return MountedDataset: with the datset id and the mountpoint
populated.'

def _dataset_to_volume(self, dataset):

    if (dataset is not None):
        return MountedDataset(dataset_id=dataset.dataset_id, mountpoint=self.mountpoint)
    else:
        return None
