isEmpty function

Check whether a useable function argument was provided