human
Here's a good function header given the following:
I wrote the below code

    def decorate(func):
        expr = compile(exprstr, ('dbcheck-%s' % func.func_name), 'eval')
        def check(*args, **kwds):
            if (not eval(expr, globals, locals)):
                raise DbcheckError(exprstr, func, args, kwds)
            return func(*args, **kwds)
        return check
    return decorate

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

def dbcheck(exprstr, globals=None, locals=None):