human
Complete the below
@dual_decorator
def empty_arg_shortcircuit(return_code=u'[]', position=1):

    ''''Decorate a function to shortcircuit and return something immediately if
    the length of a positional arg is 0.
    :param return_code: (optional) simple expression to eval as the return value - default is a list
    :param position: (optional) the position of the expected list - default is 1.'
    '''
 What is a the Python code you requested?
assistant
#Here is the Python code you requested.
    @decorator
    def wrapper(function, *args, **kw):
        if (len(args[position]) == 0):
            return ast.literal_eval(return_code)
        else:
            return function(*args, **kw)
    return wrapper