function exists(arg) {
        if (typeof arg === 'undefined') {
            return false;
        } else {
            return true;
        }
    }
Determines if the argument is undefined
@param {*} arg - argument
@returns {boolean} False if argument undefined, otherwise true