isNullOrWhiteSpace = function (string) {
            if (!string) {
                return true;
            }