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

    name = function.__name__
    _name = ('_' + name)
    def method(self):
        if (not hasattr(self, _name)):
            value = function(self)
            setattr(self, _name, value)
        return getattr(self, _name)
    def invalidate():
        if hasattr(method, _name):
            delattr(method, _name)
    method.__name__ = function.__name__
    method.__doc__ = function.__doc__
    method._invalidate = invalidate
    return method

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

def memoize(function):