def is_subset(iterable, iterable_superset):
    """
    Helper function for gen_symbols_samples below.
    Checks to see if every item in iterable is in iterable_superset.
    """
    for item in iterable:
        if item not in iterable_superset:
            return False
    return True