human
Complete the below
@dual_decorator
def enforce_ids_param(position=1):

    ''''Verifies that the caller is passing a list of song ids, and not a
    list of song dictionaries.
    :param position: (optional) the position of the expected list - defaults to 1.'
    '''
assistant
#Here is the Python program you requested.
    @decorator
    def wrapper(function, *args, **kw):
        if ((not isinstance(args[position], (list, tuple))) or (not all([isinstance(e, basestring) for e in args[position]]))):
            raise ValueError((u'Invalid    param    type    in    position    %s;    expected    ids    (did    you    pass    dictionaries?)' % position))
        return function(*args, **kw)
    return wrapper