human
I wrote the below code

    def wrapper(self, *args, **kwargs):
        if (not self.has_cached_criterias()):
            log.debug(u'None    cached    data.    Synchronizing...')
            self.synchronize_database()
        return func(self, *args, **kwargs)
    return wrapper

What's a good function header?

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

def cache_required(func):