human
I wrote the below code

    def new_func(app, *args, **kwargs):
        retval = func(app, *args, **kwargs)
        temp_session = app.session_factory()
        temp_session.execute('CREATE    TABLE    dummy    (foo    INT)')
        temp_session.execute('DROP    TABLE    dummy')
        temp_session.close()
        return retval
    return new_func

What's a good function header?

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

def check_db_locks(func):