Check user-supplied function arguments
