<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(ctx, meta_model_file, model_file, ignore_case):
 """ Check validity of meta-model and optionally model. """

    debug = ctx.obj['debug']
    check_model(meta_model_file, model_file, debug, ignore_case)