def _check_enough_names(name, echoes, volumes):
    """If names is a list check there are enough for the number of output files."""
    if isinstance(name, str):
        return True
    else:
        return len(name) >= echoes * volumes