human
I wrote the below code

    @six.wraps(f)
    def wrapped(*args, **kwargs):
        with _SYNC_STATE_LOCK.read_lock():
            return f(*args, **kwargs)
    return wrapped

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

def _wait_if_syncing(f):