human
I wrote the below code

    def action_decorator(action):
        @functools.wraps(action)
        def wrapper(context, data_dict):
            if can_skip_validator:
                if context.get('skip_validation'):
                    return action(context, data_dict)
            schema = context.get('schema', schema_func())
            (data_dict, errors) = _validate(data_dict, schema, context)
            if errors:
                raise ValidationError(errors)
            return action(context, data_dict)
        return wrapper
    return action_decorator

What's a good function header?

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

def validate(schema_func, can_skip_validator=False):