<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generate_maximum_validator(maximum, exclusiveMaximum=False, **kwargs):
 """ Generator function returning a callable for maximum value validation. """

    return functools.partial(validate_maximum, maximum=maximum, is_exclusive=exclusiveMaximum)