function isWrapped(variable) {
    return variable && variable !== window && isNumber(variable.length) && !isString(variable) && !isFunction(variable) && !isNode(variable) && (variable.length === 0 || isNode(variable[0]));
}
Check if a variable is an array-like wrapped jQuery, Zepto or similar, where
each indexed value is a Node.