method

check_arity

check_arity(obj, n_args)
private

Returns true, if the arity of obj matches n_args