arg.check function

Check for missing arguments in function call