safePredicate = function(item) {
            try {
                return predicate(item);
            }
            catch (err) {
                return false;
            }
        }
A lightweight check to see if a object (most likely) is a JSON-string.