checkModelArgs function

Helper function to test all the model arguments (e.g. a.args, e.args, etc)