def METHOD_NAME(function_argument_expressions, function_def):
    num_expressions = len(function_argument_expressions)
    if not function_def.num_args.test(num_expressions):
        raise InvalidNumberOfArguments(function_def, num_expressions)