<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def undecorate(cls, function):
        '''
        Remove validator decoration from a function.

        The `function` argument is the function to be cleaned from
        the validator decorator.
        '''

        if cls.is_function_validated(function):
            return cls.get_function_validator(function).function

        return function