def read_mask(dataset):
    """Get the dataset's mask

    Returns
    -------
    numpy.array

    Notes
    -----
    This function is no longer called by module code but we're going to
    continue to test it for a few future versions as insurance on the new
    implementation.

    """
    return dataset.dataset_mask()
