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

    factory_func.executed = False
    factory_func.cached_result = None
    def _wrapped(*args, **kwargs):
        if (not factory_func.executed):
            factory_func.cached_result = factory_func(*args, **kwargs)
        return factory_func.cached_result
    return _wrapped

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

def call_once(factory_func):