<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def check(definition, data, *args, **kwargs):
 """Checks if the input follows the definition"""

    checker = checker_factory(definition)
    return checker(data, *args, **kwargs)