human
I wrote the below code

    def _outer_wrapper(wrapped_function):
        @wraps(wrapped_function)
        def _wrapper(self, *args, **kwargs):
            try:
                if (args[1].count('    ') == space_number):
                    return []
            except Exception as err:
                print_info(err)
            return wrapped_function(self, *args, **kwargs)
        return _wrapper
    return _outer_wrapper

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

def stop_after(space_number):