@classmethod
def get_function_validator(cls, function):
    """
        Return the validator bound to `function` or None if the function
        is not validated.
        """
    return getattr(function, '__validator__', None)
