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

    def UpdateIndexesWrapper(self, *args, **kwargs):
        self._SetupIndexes()
        try:
            return func(self, *args, **kwargs)
        finally:
            self._UpdateIndexes()
    return UpdateIndexesWrapper

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

def _NeedsIndexes(func):