human
I wrote the below code

    def _dec(*args, **kwargs):
        if args:
            args = list(args)
            args[0] = smart_string(args[0])
        return func(*args, **kwargs)
    _dec._decorated_function = getattr(func, '_decorated_function', func)
    return _dec

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def stringfilter(func):